1! Ensure that supplying -Wextra into flang does not raise error 2! The first check should be changed if -Wextra is implemented 3 4! RUN: %flang -std=f2018 -Wextra %s -c 2>&1 | FileCheck %s --check-prefix=CHECK-OK 5! RUN: not %flang -std=f2018 -Wblah -Wextra %s -c 2>&1 | FileCheck %s --check-prefix=WRONG 6 7! CHECK-OK: the warning option '-Wextra' is not supported 8! WRONG: Only `-Werror` is supported currently. 9 10program wextra_ok 11end program wextra_ok 12