Convert llvmc tests to FileCheck.
[oota-llvm.git] / test / LLVMC / NoActions.td
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 -fexceptions -x c++ %t
5
6 include "llvm/CompilerDriver/Common.td"
7
8 // CHECK: class dummy_tool : public Tool {
9 def dummy_tool : Tool<[
10 (cmd_line "dummy_cmd $INFILE"),
11 (in_language "dummy"),
12 (out_language "dummy")
13 ]>;
14
15 def DummyGraph : CompilationGraph<[SimpleEdge<"root", "dummy_tool">]>;