Mikhail Glushenkov | e4ac23a | 2009-12-15 03:04:52 +0000 | [diff] [blame^] | 1 | // Check that warnings about unused options are really emitted. |
Mikhail Glushenkov | abb009d | 2008-12-07 16:44:15 +0000 | [diff] [blame] | 2 | // This should fail because the output is printed on stderr. |
Daniel Dunbar | 43c8a06 | 2009-09-13 01:37:07 +0000 | [diff] [blame] | 3 | // RUN: ignore tblgen -I %p/../../include --gen-llvmc %s |& grep "option '-Wall' has no effect!" |
Mikhail Glushenkov | 15dcc2a | 2008-12-07 16:41:50 +0000 | [diff] [blame] | 4 | |
| 5 | include "llvm/CompilerDriver/Common.td" |
| 6 | |
Mikhail Glushenkov | a01ce00 | 2008-12-21 07:47:49 +0000 | [diff] [blame] | 7 | def OptList : OptionList<[(switch_option "Wall", (extern))]>; |