1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/LLVMC/TestWarnings.td
Jeffrey Yasskin 83ced6c29a XFAIL tests from LLVMC on valgrind or valgrind+leak-checking. We
don't care about leaks from tblgen, and I assume we don't care about
valgrind errors in llvm-gcc/g++.

llvm-svn: 99115
2010-03-21 08:12:46 +00:00

9 lines
337 B
TableGen

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