1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/LLVMC/MultiplePluginPriorities.td
Mikhail Glushenkov 288062930b Disallow multiple instances of PluginPriority.
Several instances of PluginPriority in a single file most probably signifies a
programming error.

llvm-svn: 84350
2009-10-17 20:08:30 +00:00

11 lines
319 B
TableGen

// Check that multiple plugin priorities are not allowed.
// RUN: ignore tblgen -I %p/../../include --gen-llvmc %s |& grep "More than one 'PluginPriority' instance found"
include "llvm/CompilerDriver/Common.td"
def Graph : CompilationGraph<[]>;
def Priority1 : PluginPriority<1>;
def Priority2 : PluginPriority<2>;