Make the ptrtoint comparison simplification work if one side is a global.
[oota-llvm.git] / test / LLVMC / TestWarnings.td
1 // Check that warnings about unused options are really emitted.
2 // This should fail because the output is printed on stderr.
3 // RUN: ignore tblgen -I %p/../../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))]>;