Heuristic: If the number of operands in the alias are more than the number of
[llvm/stm8.git] / test / LLVMC / TestWarnings.td
blobb0f57e97e0d8cadefebf6b2875dc6b6c40f5ab0c
1 // Check that warnings about unused options are really emitted.
2 // This should fail because the output is printed on stderr.
3 // RUN: tblgen -I %p/../../include --gen-llvmc %s |& grep "option '-Wall' has no effect!"
4 // XFAIL: vg_leak
6 include "llvm/CompilerDriver/Common.td"
8 def OptList : OptionList<[(switch_option "Wall", (help "dummy"))]>;