re PR fortran/78741 (ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1534)
[official-gcc.git] / gcc / testsuite / gfortran.dg / select_type_40.f90
blob4bfa1c7e848a426bff0d52f8a9a70ce7e2a47c9e
1 ! { dg-do compile }
2 ! { dg-additional-options "-fdefault-integer-8" }
3 ! PR 78238 - this used to cause an ICE.
4 ! Original test cae by Gerhard Steinmetz
5 class(*), allocatable :: q
6 select type (x => q)
7 type is (real)
8 end select
9 end