X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FLLVMC%2FTestWarnings.td;h=b0f57e97e0d8cadefebf6b2875dc6b6c40f5ab0c;hb=3b5dfcd8fd9edce8019b6d7541e2a3c5159b2852;hp=1a4064e44b270cc24b694ba4d39e89d86b76c919;hpb=43c8a062667c9a5b9a19f75445895f0b6e0cafcc;p=oota-llvm.git diff --git a/test/LLVMC/TestWarnings.td b/test/LLVMC/TestWarnings.td index 1a4064e44b2..b0f57e97e0d 100644 --- a/test/LLVMC/TestWarnings.td +++ b/test/LLVMC/TestWarnings.td @@ -1,7 +1,8 @@ -// Check that the compiler warns about unused options. +// Check that warnings about unused options are really emitted. // This should fail because the output is printed on stderr. -// RUN: ignore tblgen -I %p/../../include --gen-llvmc %s |& grep "option '-Wall' has no effect!" +// 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", (extern))]>; +def OptList : OptionList<[(switch_option "Wall", (help "dummy"))]>;