llvm-6502/test/LLVMC/TestWarnings.td
Mikhail Glushenkov a01ce0091a Use ignore & grep instead of XFAIL.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61307 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-21 07:47:49 +00:00

8 lines
317 B
TableGen

// Check that the compiler warns about unused options.
// This should fail because the output is printed on stderr.
// RUN: ignore tblgen -I $srcroot/include --gen-llvmc %s |& grep "option '-Wall' has no effect!"
include "llvm/CompilerDriver/Common.td"
def OptList : OptionList<[(switch_option "Wall", (extern))]>;