summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/host_assoc_blockdata_1.f90
blob: 07f9ed478b2660f2e4a05d663cad07d84472d6f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
! { 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" } }