2 ! Tests the fix for PR19546 in which an ICE would result from
3 ! setting the parent result in a contained procedure.
4 ! This case tests character results.
10 if (f
.eq
."iklm") f
= "abcd"
15 if (f
.eq
."efgh") f
= "iklm"
19 function g() ! { dg-warning "Obsolescent feature" }
23 if (g
.eq
."iklm") g
= "ABCD"
28 if (g
.eq
."efgh") g
= "iklm"
32 character(4), external :: f
, g
33 if (f ().ne
."wxyz") call abort ()
34 if (g ().ne
."WXYZ") call abort ()