[WebAssembly] Fix asan issue from https://reviews.llvm.org/D121349
[llvm-project.git] / flang / test / Driver / std2018-wrong.f90
blobb896417680c81ab5acf541e4cd7c9607245a3379
1 ! Ensure argument -std=f2018 works as expected.
3 !-----------------------------------------
4 ! FRONTEND FLANG DRIVER (flang-new -fc1)
5 !-----------------------------------------
6 ! RUN: not %flang_fc1 -std=90 %s 2>&1 | FileCheck %s --check-prefix=WRONG
8 !-----------------------------------------
9 ! EXPECTED OUTPUT WITH WRONG
10 !-----------------------------------------
11 ! WRONG: Only -std=f2018 is allowed currently.