nvptx, libgfortran: Switch out of "minimal" mode
[official-gcc.git] / gcc / testsuite / gfortran.dg / namelist_63.f90
blobde27b82d52fafcd7d90d3427a809df8d314e0030
1 ! { dg-do compile }
2 ! { dg-options -std=f95 }
3 ! PR fortran/45530, updated for PR78659
5 ! Contributed by david.sagan@gmail.com
7 program test
8 implicit none
10 type c_struct
11 type (g_struct), pointer :: g
12 end type
14 type g_struct
15 type (p_struct), pointer :: p
16 end type
18 type p_struct
19 type (region_struct), pointer :: r
20 end type
22 type region_struct
23 type (p_struct) plot
24 end type
26 type (c_struct) curve(10)
27 ! The following is allowed with f2003.
28 namelist / params / curve ! { dg-error "ALLOCATABLE or POINTER components" }
29 end program