1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test/LLVMC/TestWarnings.td
Mikhail Glushenkov de1e03e890 Update tests.
llvm-svn: 111096
2010-08-15 07:07:24 +00:00

9 lines
343 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", (help "dummy"))]>;