Add some rudimentary tests for .
[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: tblgen -I $srcroot/include --gen-llvmc %s | grep extern
4 // XFAIL: *
5
6 include "llvm/CompilerDriver/Common.td"
7
8 def OptList : OptionList<[(extern_switch "Wall"),
9     (extern_parameter "std"), (extern_list "L")]>;