Hack to make this test work on platforms which aren't Macs. Fixing this
[oota-llvm.git] / test / LLVMC / TestWarnings.td
1 // Check that the compiler warns about unused options.
2 // This should fail because the output is printed on stderr.
3 // RUN: ignore tblgen -I $srcroot/include --gen-llvmc %s |& grep "option '-Wall' has no effect!"
4
5 include "llvm/CompilerDriver/Common.td"
6
7 def OptList : OptionList<[(switch_option "Wall", (extern))]>;