rt_gccstream/gcc/testsuite/gfortran.dg/host_assoc_blockdata_1.f90

13 lines
248 B
Fortran

! { dg-do compile }
! PR 38672 - this used to ICE.
MODULE globals
TYPE :: type1
integer :: x
END TYPE type1
TYPE (type1) :: pdm_bps
END module globals
BLOCK DATA
use globals
END BLOCK DATA
! { dg-final { cleanup-modules "globals" } }