2 ! { dg
-options
"-std=gnu" }
3 ! PR64506 fixed form source
4 character(25) :: astring
6 100 format('This format is OK.'
8 200 format('This format works now.'!comment
<< FAILS
10 300 format('This format is OK.' !comment
12 400 format('This format is OK.' !comment
14 500 format('This format is now OK.'''!comment
16 600 format('This format is OK.''' !comment
19 if (astring
.ne
."This format is OK.") call abort
21 if (astring
.ne
."This format works now.") call abort
23 if (astring
.ne
."This format is OK.") call abort
25 if (astring
.ne
."This format is OK.") call abort
27 if (astring
.ne
."This format is now OK.'") call abort
29 if (astring
.ne
."This format is OK.'") call abort