2 ! { dg-additional-options "-fno-f2c" }
4 ! PR fortran/104312 - ICE in fold_convert_loc with entry, -ff2c: control
5 ! Contributed by G.Steinmetz
12 real, target
:: a(2) = [1,2]
19 complex, pointer :: g
,h
20 complex, target
:: a(2) = [3,4]
27 real, allocatable
:: f3
, e3
28 allocate (f3
, source
=1.0)
31 allocate (e3
, source
=2.0)
34 complex, allocatable
:: g3
, h3
35 allocate (g3
, source
=(3.0,0.0))
38 allocate (h3
, source
=(4.0,0.0))
53 if (c
/= (3.0,0.0)) stop 3
55 if (c
/= (4.0,0.0)) stop 4
61 if (d
/= (3.0,0.0)) stop 7
63 if (d
/= (4.0,0.0)) stop 8