Heuristic: If the number of operands in the alias are more than the number of
[llvm/stm8.git] / test / LLVMC / ForwardAs.td
blob99b240e30fb3e25764f47d4c0ad98d2a76929256
1 // Check the fix for PR4159.
2 // http://llvm.org/bugs/show_bug.cgi?id=4159
3 // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
4 // RUN: FileCheck -input-file %t %s
5 // RUN: %compile_cxx %t
6 // XFAIL: vg_leak
8 include "llvm/CompilerDriver/Common.td"
10 def OptList : OptionList<[(parameter_option "dummy", (help "dummmy"))]>;
12 def dummy_tool : Tool<[
13 (command "dummy_cmd"),
14 (in_language "dummy"),
15 (out_language "dummy"),
16 (actions (case
17          // CHECK: "unique_name"));
18          (not_empty "dummy"), (forward_as "dummy", "unique_name")))
19 ]>;
21 def DummyGraph : CompilationGraph<[(edge "root", "dummy_tool")]>;