Heuristic: If the number of operands in the alias are more than the number of
[llvm/stm8.git] / test / LLVMC / NoActions.td
blob34b444066350c12feaca6e75f3e1848092d20132
1 // Check that tools without associated actions are accepted.
2 // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
3 // RUN: FileCheck -input-file %t %s
4 // RUN: %compile_cxx %t
5 // XFAIL: vg_leak
7 include "llvm/CompilerDriver/Common.td"
9 // CHECK: class dummy_tool : public Tool {
10 def dummy_tool : Tool<[
11 (command "dummy_cmd"),
12 (in_language "dummy"),
13 (out_language "dummy")
14 ]>;
16 def DummyGraph : CompilationGraph<[(edge "root", "dummy_tool")]>;