use_8.f90

来自「用于进行gcc测试」· F90 代码 · 共 25 行

F90
25
字号
! { dg-do compile }module a  type, private, bind(C) b ! { dg-error "Expected :: in TYPE definition" }    integer i  end type b ! { dg-error "Expecting END MODULE statement" }  type, public c ! { dg-error "Expected :: in TYPE definition" }    integer j  end type c ! { dg-error "Expecting END MODULE statement" }  type, private d ! { dg-error "Expected :: in TYPE definition" }    integer k  end type b ! { dg-error "Expecting END MODULE statement" }  type, bind(C), public e ! { dg-error "Expected :: in TYPE definition" }    integer l  end type e ! { dg-error "Expecting END MODULE statement" }  type, bind(C) f ! { dg-error "Expected :: in TYPE definition" }    integer m  end type f ! { dg-error "Expecting END MODULE statement" }end module a

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?