llvm-project/flang/test/Driver/std2018-wrong.f90

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
443 B
Fortran
Raw Normal View History

! 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.