flang/test/Driver/std2018-wrong.f90
raw| 1 | ! Ensure argument -std=f2018 works as expected. |
| 2 | |
| 3 | !----------------------------------------- |
| 4 | ! FRONTEND FLANG DRIVER (flang-new -fc1) |
| 5 | !----------------------------------------- |
| 6 | ! RUN: not %flang_fc1 -std=90 %s 2>&1 | FileCheck %s --check-prefix=WRONG |
| 7 | |
| 8 | ! WRONG: Only -std=f2018 is allowed currently. |