revert a hunk of r82018 that wasn't supposed to go in yet.
[llvm/avr.git] / test / LLVMC / ForwardAs.td
blob28c2a0aae75e447bbec2b12ab32de7aac40a21d1
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: grep unique_name %t
6 include "llvm/CompilerDriver/Common.td"
8 def OptList : OptionList<[(parameter_option "dummy", (extern))]>;
10 def dummy_tool : Tool<[
11 (cmd_line "dummy_cmd"),
12 (in_language "dummy"),
13 (out_language "dummy"),
14 (actions (case
15          (not_empty "dummy"), (forward_as "dummy", "unique_name")))
16 ]>;
18 def DummyGraph : CompilationGraph<[SimpleEdge<"root", "dummy_tool">]>;