X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FLLVMC%2FNoActions.td;h=a80bcfe6ce1cc519caef7c0112bf969abb22997a;hb=f65b0e9b455da8ab2936c9a6d4ead5c92716e13a;hp=43fd0079eee2d47b20bebd48c75a85ff23655e2d;hpb=15dcc2a15ba97359093410ba7d4f76c53cddf938;p=oota-llvm.git diff --git a/test/LLVMC/NoActions.td b/test/LLVMC/NoActions.td index 43fd0079eee..a80bcfe6ce1 100644 --- a/test/LLVMC/NoActions.td +++ b/test/LLVMC/NoActions.td @@ -1,10 +1,14 @@ // Check that tools without associated actions are accepted. -// RUN: tblgen -I $srcroot/include --gen-llvmc %s | grep dummy_tool +// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t +// RUN: FileCheck -input-file %t %s +// RUN: %compile_cxx -fexceptions -x c++ %t +// XFAIL: vg_leak include "llvm/CompilerDriver/Common.td" +// CHECK: class dummy_tool : public Tool { def dummy_tool : Tool<[ -(cmd_line "dummy_cmd"), +(command "dummy_cmd"), (in_language "dummy"), (out_language "dummy") ]>;