aboutsummaryrefslogtreecommitdiffstats
path: root/test/LLVMC/TestWarnings.td
blob: b0f57e97e0d8cadefebf6b2875dc6b6c40f5ab0c (plain)
1
2
3
4
5
6
7
8
// Check that warnings about unused options are really emitted.
// This should fail because the output is printed on stderr.
// RUN: tblgen -I %p/../../include --gen-llvmc %s |& grep "option '-Wall' has no effect!"
// XFAIL: vg_leak

include "llvm/CompilerDriver/Common.td"

def OptList : OptionList<[(switch_option "Wall", (help "dummy"))]>;