llvm-6502/test/LLVMC/TestWarnings.td
Mikhail Glushenkov abb009d2fd Add some clarifying comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60662 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-07 16:44:15 +00:00

10 lines
335 B
TableGen

// Check that the compiler warns about unused options.
// This should fail because the output is printed on stderr.
// RUN: tblgen -I $srcroot/include --gen-llvmc %s | grep extern
// XFAIL: *
include "llvm/CompilerDriver/Common.td"
def OptList : OptionList<[(extern_switch "Wall"),
(extern_parameter "std"), (extern_list "L")]>;