view flang/test/Driver/werror-wrong.f90 @ 209:dd44ba33042e

merged...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:36:09 +0900
parents 2e18cbf3894f
children c4bab56944e8
line wrap: on
line source

! Ensure that only argument -Werror is supported.
! REQUIRES: new-flang-driver

! 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.