xref: /llvm-project/flang/test/Driver/werror-wrong.f90 (revision d5d420bb3bcc2eea926fb70fc3e6818c32e1eecc)
1! Ensure that only argument -Werror is supported.
2
3! RUN: not %flang_fc1 -fsyntax-only -Wall %s  2>&1 | FileCheck %s --check-prefix=WRONG
4! RUN: not %flang_fc1 -fsyntax-only -WX %s  2>&1 | FileCheck %s --check-prefix=WRONG
5
6! WRONG: Only `-Werror` is supported currently.
7