Files
clang-p2996/flang/test/Driver/std2018-wrong.f90
Andrzej Warzynski 4b273b1982 [flang][nfc] Rename some test files
Update test names as per Flang's coding style guide [1]:
```
File names should use dashes, not underscores.
```

[1] https://github.com/llvm/llvm-project/blob/main/flang/docs/C%2B%2Bstyle.md#files
2021-04-08 10:09:00 +00:00

13 lines
443 B
Fortran

! REQUIRES: new-flang-driver
! Ensure argument -std=f2018 works as expected.
!-----------------------------------------
! FRONTEND FLANG DRIVER (flang-new -fc1)
!-----------------------------------------
! RUN: not %flang_fc1 -std=90 %s 2>&1 | FileCheck %s --check-prefix=WRONG
!-----------------------------------------
! EXPECTED OUTPUT WITH WRONG
!-----------------------------------------
! WRONG: Only -std=f2018 is allowed currently.