! Ensure that only argument -Werror is supported. | |
! RUN: not %flang_fc1 -fsyntax-only -Wall %s 2>&1 | FileCheck %s --check-prefix=WRONG | |
! RUN: not %flang_fc1 -fsyntax-only -WX %s 2>&1 | FileCheck %s --check-prefix=WRONG | |
!----------------------------------------- | |
! EXPECTED OUTPUT WITH -W<opt> | |
!----------------------------------------- | |
! WRONG: Only `-Werror` is supported currently. |