1 // Check that tools without associated actions are accepted.
2 // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
3 // RUN: grep dummy_tool %t
4 // RUN: %compile_cxx -fexceptions -x c++ %t
6 include "llvm/CompilerDriver/Common.td"
8 def dummy_tool : Tool<[
9 (cmd_line "dummy_cmd $INFILE"),
10 (in_language "dummy"),
11 (out_language "dummy")
14 def DummyGraph : CompilationGraph<[SimpleEdge<"root", "dummy_tool">]>;