xref: /llvm-project/flang/test/Driver/w-arg-unsupported.f90 (revision b49ce9c304b00dae49148b6a2f5f27965000206c)
1! RUN: %flang -std=f2018 -Wextra -Waliasing -Wampersand -Warray-bounds -Wc-binding-type \
2! RUN:        -Wcharacter-truncation -Wconversion -Wdo-subscript -Wfunction-elimination \
3! RUN:        -Wimplicit-interface -Wimplicit-procedure -Wintrinsic-shadow -Wuse-without-only \
4! RUN:        -Wintrinsics-std -Wline-truncation -Wno-align-commons -Wno-overwrite-recursive \
5! RUN:        -Wno-tabs -Wreal-q-constant -Wsurprising -Wunderflow -Wunused-parameter \
6! RUN:        -Wrealloc-lhs -Wrealloc-lhs-all -Wfrontend-loop-interchange -Wtarget-lifetime %s \
7! RUN:        -c 2>&1 | FileCheck %s
8
9! CHECK: the warning option '-Wextra' is not supported
10! CHECK-NEXT: the warning option '-Waliasing' is not supported
11! CHECK-NEXT: the warning option '-Wampersand' is not supported
12! CHECK-NEXT: the warning option '-Warray-bounds' is not supported
13! CHECK-NEXT: the warning option '-Wc-binding-type' is not supported
14! CHECK-NEXT: the warning option '-Wcharacter-truncation' is not supported
15! CHECK-NEXT: the warning option '-Wconversion' is not supported
16! CHECK-NEXT: the warning option '-Wdo-subscript' is not supported
17! CHECK-NEXT: the warning option '-Wfunction-elimination' is not supported
18! CHECK-NEXT: the warning option '-Wimplicit-interface' is not supported
19! CHECK-NEXT: the warning option '-Wimplicit-procedure' is not supported
20! CHECK-NEXT: the warning option '-Wintrinsic-shadow' is not supported
21! CHECK-NEXT: the warning option '-Wuse-without-only' is not supported
22! CHECK-NEXT: the warning option '-Wintrinsics-std' is not supported
23! CHECK-NEXT: the warning option '-Wline-truncation' is not supported
24! CHECK-NEXT: the warning option '-Wno-align-commons' is not supported
25! CHECK-NEXT: the warning option '-Wno-overwrite-recursive' is not supported
26! CHECK-NEXT: the warning option '-Wno-tabs' is not supported
27! CHECK-NEXT: the warning option '-Wreal-q-constant' is not supported
28! CHECK-NEXT: the warning option '-Wsurprising' is not supported
29! CHECK-NEXT: the warning option '-Wunderflow' is not supported
30! CHECK-NEXT: the warning option '-Wunused-parameter' is not supported
31! CHECK-NEXT: the warning option '-Wrealloc-lhs' is not supported
32! CHECK-NEXT: the warning option '-Wrealloc-lhs-all' is not supported
33! CHECK-NEXT: the warning option '-Wfrontend-loop-interchange' is not supported
34! CHECK-NEXT: the warning option '-Wtarget-lifetime' is not supported
35
36program m
37end program
38