diff options
Diffstat (limited to 'test/LLVMC/MultiplePluginPriorities.td')
-rw-r--r-- | test/LLVMC/MultiplePluginPriorities.td | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/LLVMC/MultiplePluginPriorities.td b/test/LLVMC/MultiplePluginPriorities.td new file mode 100644 index 0000000..f108641 --- /dev/null +++ b/test/LLVMC/MultiplePluginPriorities.td @@ -0,0 +1,13 @@ +// Check that multiple plugin priorities are not allowed. +// RUN: ignore tblgen -I %p/../../include --gen-llvmc %s |& grep "More than one 'PluginPriority' instance found" + +// Disable for Darwin PPC: <rdar://problem/7598390> +// XFAIL: powerpc-apple-darwin + +include "llvm/CompilerDriver/Common.td" + +def Graph : CompilationGraph<[]>; + +def Priority1 : PluginPriority<1>; + +def Priority2 : PluginPriority<2>; |