diff options
Diffstat (limited to 'test/LLVMC/NoActions.td')
-rw-r--r-- | test/LLVMC/NoActions.td | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/LLVMC/NoActions.td b/test/LLVMC/NoActions.td new file mode 100644 index 0000000..43fd007 --- /dev/null +++ b/test/LLVMC/NoActions.td @@ -0,0 +1,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">]>; |