Move getTrue() and getFalse() to 2.5-like APIs.
[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 $srcroot/include --gen-llvmc %s -o %t
4 // RUN: not grep {)));} %t
5
6 include "llvm/CompilerDriver/Common.td"
7
8 def dummy_tool : Tool<[
9 (cmd_line "gcc -o $OUTFILE $INFILE $ENV(FOO)/bar"),
10 (in_language "dummy"),
11 (out_language "dummy")
12 ]>;
13
14 def DummyGraph : CompilationGraph<[SimpleEdge<"root", "dummy_tool">]>;
15
16 def Graph : CompilationGraph<[]>;