2 ! { dg-options -std=f95 }
3 ! PR fortran/45530, updated for PR78659
5 ! Contributed by david.sagan@gmail.com
11 type (g_struct
), pointer :: g
15 type (p_struct
), pointer :: p
19 type (region_struct
), pointer :: r
26 type (c_struct
) curve(10)
27 ! The following is allowed with f2003.
28 namelist / params
/ curve
! { dg-error "ALLOCATABLE or POINTER components" }