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!"
6 include "llvm/CompilerDriver/Common.td"
8 def OptList : OptionList<[(switch_option "Wall", (help "dummy"))]>;