[WebAssembly] Fix asan issue from https://reviews.llvm.org/D121349
[llvm-project.git] / flang / test / Driver / parse-error.f95
blob3b9ad93ea51475d52f3e2b53eadb9a67d23aef4b
1 ! Verify that parsing errors are correctly reported by the driver
2 ! Focuses on actions inheriting from the following:
3 ! * PrescanAndSemaAction (-fsyntax-only)
4 ! * PrescanAndParseAction (-fdebug-unparse-no-sema)
6 ! RUN: not %flang_fc1 -fdebug-unparse-no-sema %s 2>&1 | FileCheck %s --check-prefix=ERROR
7 ! RUN: not %flang_fc1 -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix=ERROR
9 ! ERROR: Could not parse {{.*}}parse-error.f95
11 "This file will not parse"