PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / use_8.f90
blobadb265e5b4c4f171989394615fd4031bd834495e
1 ! { dg-do compile }
2 module a
4 type, private, bind(C) b ! { dg-error "Expected :: in TYPE definition" }
5 integer i
6 end type b ! { dg-error "Expecting END MODULE statement" }
8 type, public c ! { dg-error "Expected :: in TYPE definition" }
9 integer j
10 end type c ! { dg-error "Expecting END MODULE statement" }
12 type, private d ! { dg-error "Expected :: in TYPE definition" }
13 integer k
14 end type b ! { dg-error "Expecting END MODULE statement" }
16 type, bind(C), public e ! { dg-error "Expected :: in TYPE definition" }
17 integer l
18 end type e ! { dg-error "Expecting END MODULE statement" }
20 type, bind(C) f ! { dg-error "Expected :: in TYPE definition" }
21 integer m
22 end type f ! { dg-error "Expecting END MODULE statement" }
24 end module a