projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Covert this test to .s form.
[oota-llvm.git]
/
test
/
LLVMC
/
TestWarnings.td
diff --git
a/test/LLVMC/TestWarnings.td
b/test/LLVMC/TestWarnings.td
index bf2173c7938d10a8815b399a421fcc797acd2248..b0f57e97e0d8cadefebf6b2875dc6b6c40f5ab0c 100644
(file)
--- 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.
// This should fail because the output is printed on stderr.
-// RUN: ignore tblgen -I $srcroot/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"
include "llvm/CompilerDriver/Common.td"
-def OptList : OptionList<[(switch_option "Wall", (
extern
))]>;
+def OptList : OptionList<[(switch_option "Wall", (
help "dummy"
))]>;