1 ! Ensure argument
-Werror work as expected
, this file checks
for the functional correctness
for
2 ! actions that extend the PrescanAction
3 ! Multiple RUN lines are added
to make sure that the behavior is consistent across multiple actions
.
5 ! RUN
: not
%flang_fc1
-E
-Werror
%s
2>&1 | FileCheck
%s
--check
-prefix
=WITH
6 ! RUN
: not
%flang_fc1
-fdebug
-dump
-parsing
-log
-Werror
%s
2>&1 | FileCheck
%s
--check
-prefix
=WITH
7 ! RUN
: not
%flang_fc1
-fdebug
-dump
-provenance
-Werror
%s
2>&1 | FileCheck
%s
--check
-prefix
=WITH
8 ! RUN
: not
%flang_fc1
-fdebug
-measure
-parse
-tree
-Werror
%s
2>&1 | FileCheck
%s
--check
-prefix
=WITH
9 ! RUN
: %flang_fc1
-E
%s
2>&1 | FileCheck
%s
--allow
-empty
--check
-prefix
=WITHOUT
10 ! RUN
: %flang_fc1
-fdebug
-dump
-parsing
-log
%s
2>&1 | FileCheck
%s
--check
-prefix
=WITHOUT
11 ! RUN
: %flang_fc1
-fdebug
-dump
-provenance
%s
2>&1 | FileCheck
%s
--check
-prefix
=WITHOUT
12 ! RUN
: %flang_fc1
-fdebug
-measure
-parse
-tree
%s
2>&1 | FileCheck
%s
--check
-prefix
=WITHOUT
14 ! WITH
: Could not scan
16 ! WITHOUT
-NOT
: Could not scan