OSDN Git Service

PR c++/9335
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gfortran.dg / used_types_18.f90
1 ! { dg do-compile }
2 ! { dg-options "-std=f2003" }
3 !
4 ! Fortran 2003 allowes TYPE without components
5 ! The error message for -std=f95 is tested in
6 ! gfortran.dg/access_spec_2.f90
7 !
8 ! PR fortran/33188
9 !
10 type t
11 end type
12
13 type(t) :: a
14 print *, a
15 end