llvm-mirror/test/LLVMC/NoActions.td
Mikhail Glushenkov d676237550 Add tests for tblgen's LLVMC backend.
llvm-svn: 60657
2008-12-07 16:41:50 +00:00

13 lines
341 B
TableGen

// 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">]>;