Retro68/gcc/gcc/testsuite/gfortran.dg/dec_union_8.f90
2017-10-07 02:16:47 +02:00

22 lines
257 B
Fortran

! { dg-do compile }
! { dg-options "-fdec-structure" }
!
! PR fortran/77764
!
! Test an ICE due to a map with zero components.
!
program p
structure /s1/
union
map
end map
map
real :: a = 2.0
end map
end union
end structure
end