mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
288062930b
Several instances of PluginPriority in a single file most probably signifies a programming error. llvm-svn: 84350
11 lines
319 B
TableGen
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>;
|