flang/test/Parser/at-process.f90
raw| 1 | ! RUN: not %flang_fc1 -fsyntax-only %s 2>&1 | FileCheck %s |
| 2 | |
| 3 | ! Test ignoring @PROCESS directive in free source form |
| 4 | |
| 5 | @process opt(3) |
| 6 | @process opt(0) |
| 7 | @process strict |
| 8 | @processopt(3) |
| 9 | subroutine f() |
| 10 | print *, "@process" |
| 11 | ! @process |
| 12 | end subroutine f |
| 13 | |
| 14 | !CHECK: error: expected '(' |
| 15 | @p |
| 16 | |
| 17 | !CHECK: error: expected '(' |
| 18 | @proce |
| 19 | |
| 20 | !CHECK: error: expected '(' |
| 21 | @precoss |
| 22 | end |
| 23 |