1 // Check that tools without associated actions are accepted.
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 // CHECK: class dummy_tool : public Tool {
10 def dummy_tool : Tool<[
11 (command "dummy_cmd"),
12 (in_language "dummy"),
13 (out_language "dummy")
16 def DummyGraph : CompilationGraph<[(edge "root", "dummy_tool")]>;