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"),
15 (not_empty "dummy"), (forward_as "dummy", "unique_name")))
18 def DummyGraph : CompilationGraph<[SimpleEdge<"root", "dummy_tool">]>;