gcc/testsuite/cobol.dg/group2/Floating_continuation_indicator__1_.cob
raw| 1 | *> { dg-do run } |
| 2 | *> { dg-options "-ffixed-form" } |
| 3 | *> { dg-output-file "group2/Floating_continuation_indicator__1_.out" } |
| 4 | IDENTIFICATION DIVISION. |
| 5 | * testing floating continuation literals ("'-" and '"-') |
| 6 | PROGRAM-ID. FF2. |
| 7 | PROCEDURE DIVISION. |
| 8 | DISPLAY "hello "- |
| 9 | "world.". |
| 10 | DISPLAY 'hello '- |
| 11 | 'world.'. |
| 12 | DISPLAY "hello "- |
| 13 | * non-interrupting comment |
| 14 | "world.". |
| 15 | DISPLAY 'hello '- |
| 16 | *> non-interrupting comment |
| 17 | |
| 18 | 'world.'. |
| 19 | EXIT PROGRAM. |
| 20 | |
| 21 |