brintos

brintos / llvm-project-archived public Read only

0
0
Text · 444 B · db15c7f Raw
12 lines · plain
1! Ensure that supplying -Wextra into flang does not raise error2! The first check should be changed if -Wextra is implemented3 4! RUN: %flang -std=f2018 -Wextra %s -c 2>&1 | FileCheck %s --check-prefix=CHECK-OK5! RUN: not %flang -std=f2018 -Wblah -Wextra %s -c 2>&1 | FileCheck %s --check-prefix=WRONG6 7! CHECK-OK: the warning option '-Wextra' is not supported8! WRONG: Unknown diagnostic option: -Wblah9 10program wextra_ok11end program wextra_ok12