2 ! { dg-options "-std=legacy" }
5 ! The merge intrinsic didn't work for strings
9 ll
= (/ .TRUE
., .FALSE
. /)
10 c
= merge( (/ "AA", "BB" /), (/ "CC", "DD" /), ll
)
11 if (c(1).ne
."AA" .or
. c(2).ne
."DD") STOP 1
14 c
= merge( (/ "AA", "BB" /), (/ "CC", "DD" /), (/ .TRUE
., .FALSE
. /) )
15 if (c(1).ne
."AA" .or
. c(2).ne
."DD") STOP 2