modula2: Simplify REAL/LONGREAL/SHORTREAL node creation.
[official-gcc.git] / gcc / testsuite / gfortran.dg / default_initialization_7.f90
blobfc8be98b113556732afb00c070e92fa5919e788f
1 ! { dg-do compile }
3 ! PR fortran/57033
4 ! ICE on a structure constructor of an extended derived type whose parent
5 ! type last component has a default initializer
7 ! Contributed by Tilo Schwarz <tilo@tilo-schwarz.de>
9 program ice
11 type m
12 integer i
13 logical :: f = .false.
14 end type m
16 type, extends(m) :: me
17 end type me
19 type(me) meo
21 meo = me(1) ! ICE
22 end program ice