gcc/testsuite/cobol.dg/group1/escape.cob
raw| 1 | *> { dg-do run } |
| 2 | *> { dg-output {Testing the testing(\n|\r|\r\n)} } |
| 3 | *> { dg-output {\.\^\$\*\+\-\?\(\)\[\]\{\}\\\|(\n|\r|\r\n)} } |
| 4 | *> { dg-output {"\.\^\$\*\+\-\?\(\)\[\]\{\}\\\|"} } |
| 5 | identification division. |
| 6 | program-id. escape. |
| 7 | procedure division. |
| 8 | display "Testing the testing" |
| 9 | display ".^$*+-?()[]{}\|" |
| 10 | display '".^$*+-?()[]{}\|"' . |
| 11 | end program escape. |