summaryrefslogtreecommitdiff
path: root/test/LLVMC/NoActions.td
blob: 43fd0079eee2d47b20bebd48c75a85ff23655e2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Check that tools without associated actions are accepted.
// RUN: tblgen -I $srcroot/include --gen-llvmc %s | grep dummy_tool

include "llvm/CompilerDriver/Common.td"

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

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