ce0cb824604ce746181f823f80dc5521af9b8f61
[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 {FOO")));} %t
5 // RUN: %compile_cxx %t
6 // XFAIL: vg_leak
7
8 include "llvm/CompilerDriver/Common.td"
9
10 def dummy_tool : Tool<[
11 (command "gcc $ENV(FOO)/bar"),
12 (in_language "dummy"),
13 (out_language "dummy")
14 ]>;
15
16 def DummyGraph : CompilationGraph<[(edge "root", "dummy_tool")]>;
17
18 def Graph : CompilationGraph<[]>;