fix pr/45972
[official-gcc.git] / gcc / testsuite / gfortran.dg / class_21.f03
blob93b9616aee9afdccce3538603ac204b816c50bc9
1 ! { dg-do compile }
3 ! PR 43990: [OOP] ICE in output_constructor_regular_field, at varasm.c:4995
5 ! Reported by Hans-Werner Boschmann <boschmann@tp1.physik.uni-siegen.de>
7 module m
9   type :: t
10      logical :: l = .true.
11      class(t),pointer :: cp => null()
12   end type
14   type(t),save :: default_t
16 end module
18 ! { dg-final { cleanup-modules "m" } }