summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/used_types_18.f90
blob: 0acebc4c830e5bc5df3cd64a088aabab6e1845a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
! { dg do-compile }
! { dg-options "-std=f2003" }
!
! Fortran 2003 allowes TYPE without components
! The error message for -std=f95 is tested in
! gfortran.dg/access_spec_2.f90
!
! PR fortran/33188
!
type t
end type

type(t) :: a
print *, a
end