Revert commit 94666 (ddunbar) [Suppress clang warning about unused arguments].
[oota-llvm.git] / test / LLVMC / EnvParentheses.td
1 // Check the fix for PR4157.
2 // http://llvm.org/bugs/show_bug.cgi?id=4157
3 // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
4 // RUN: not grep {)));} %t
5 // RUN: %compile_cxx -fexceptions -x c++ %t
6
7 include "llvm/CompilerDriver/Common.td"
8
9 def dummy_tool : Tool<[
10 (cmd_line "gcc -o $OUTFILE $INFILE $ENV(FOO)/bar"),
11 (in_language "dummy"),
12 (out_language "dummy")
13 ]>;
14
15 def DummyGraph : CompilationGraph<[SimpleEdge<"root", "dummy_tool">]>;
16
17 def Graph : CompilationGraph<[]>;