coarray_41.f90: Add "-latomic" option if libatomic_available.
[official-gcc.git] / gcc / testsuite / gfortran.dg / allocate_derived_2.f90
blob8d01224f15e6b3247b3d1055e0bc355cb217425c
1 ! { dg-do compile }
3 ! PR 42888: [4.5 Regression] ICE in fold_convert_loc, at fold-const.c:2670
5 ! Contributed by Harald Anlauf <anlauf@gmx.de>
7 implicit none
9 type t
10 integer :: X = -999.0 ! Real initializer!
11 end type t
13 type(t), allocatable :: x
14 class(t), allocatable :: y,z
16 allocate (x)
17 allocate (y)
18 allocate (t::z)
20 end