1 // Check that multiple output languages work.
2 // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
3 // RUN: FileCheck -input-file %t %s
4 // RUN: %compile_cxx %t
7 include "llvm/CompilerDriver/Common.td"
9 def dummy_tool : Tool<[
10 (command "dummy_cmd"),
11 (in_language "dummy_lang"),
12 (out_language "another_dummy_lang", "yet_another_dummy_lang")
15 def another_dummy_tool : Tool<[
16 (command "another_dummy_cmd"),
17 (in_language "another_dummy_lang", "some_other_dummy_lang"),
18 (out_language "executable"),
22 // CHECK: new SimpleEdge("dummy_tool")
23 // CHECK: new SimpleEdge("another_dummy_tool")
24 def DummyGraph : CompilationGraph<[
25 (edge "root", "dummy_tool"),
26 (edge "dummy_tool", "another_dummy_tool")