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
6 include "llvm/CompilerDriver/Common.td"
8 def dummy_tool : Tool<[
9 (cmd_line "gcc -o $OUTFILE $INFILE $ENV(FOO)/bar"),
10 (in_language "dummy"),
11 (out_language "dummy")
14 def DummyGraph : CompilationGraph<[SimpleEdge<"root", "dummy_tool">]>;
16 def Graph : CompilationGraph<[]>;