1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-31 16:02:52 +01:00
llvm-mirror/test/TableGen/MultiClassDefName.td
Bill Wendling 4910234c0f FileCheckize some tests.
llvm-svn: 189060
2013-08-22 20:46:05 +00:00

16 lines
259 B
TableGen

// RUN: llvm-tblgen %s | FileCheck %s
// CHECK: WorldHelloCC
// CHECK-NOT: WorldHelloCC
class C<string n> {
string name = n;
}
multiclass Names<string n, string m> {
def CC : C<n>;
def World#NAME#CC : C<m>;
}
defm Hello : Names<"hello", "world">;