mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-26 05:00:26 +00:00
a01ce0091a
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61307 91177308-0d34-0410-b5e6-96231b3b80d8
8 lines
317 B
TableGen
8 lines
317 B
TableGen
// Check that the compiler warns about unused options.
|
|
// 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!"
|
|
|
|
include "llvm/CompilerDriver/Common.td"
|
|
|
|
def OptList : OptionList<[(switch_option "Wall", (extern))]>;
|