2 ! Tests the fix for PR35932, in which the KIND argument of CHAR
3 ! was not converted and this screwed up the scalarizer.
5 ! Contributed by Dick Hendrickson <dick.hendrickson@gmail.com>
11 INTEGER :: IDA(10) = [(i
, i
= 97,106)]
13 CDA1
= CHAR ( IDA
, KIND("A" )) !failed
14 if (transfer (CDA1
, CDA10
) /= "abcdefghij") call abort ()
15 CDA1
= CHAR ( IDA
) !worked
16 if (transfer (CDA1
, CDA10
) /= "abcdefghij") call abort ()