aboutsummaryrefslogtreecommitdiffstats
path: root/test/LLVMC/NoActions.td
blob: 7b8e721397a240a9e929f19cf03fc4978f29b85b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Check that tools without associated actions are accepted.
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: grep dummy_tool %t
// RUN: %compile_cxx -fexceptions -x c++ %t

include "llvm/CompilerDriver/Common.td"

def dummy_tool : Tool<[
(cmd_line "dummy_cmd $INFILE"),
(in_language "dummy"),
(out_language "dummy")
]>;

def DummyGraph : CompilationGraph<[SimpleEdge<"root", "dummy_tool">]>;