1 // RUN: llvm-tblgen %s | FileCheck %s
5 // CHECK: string e = "B0";
9 // CHECK: string a = "B0b";
10 // CHECK: string b = "B0";
14 // CHECK: string f = "B0b";
15 // CHECK: string g = "B0";
19 // CHECK: string a = "B0cz";
20 // CHECK: string b = "B0";
23 // CHECK: def B0czyt {
24 // CHECK: string f = "B0cz";
25 // CHECK: string g = "B0";
29 // CHECK: string a = "C0";
30 // CHECK: string b = "C0";
31 // CHECK: string c = "a";
35 // CHECK: string a = "D0a";
36 // CHECK: string b = "D0a";
37 // CHECK: string c = "D0";
41 // CHECK: string a = "D0b";
42 // CHECK: string b = "D0b";
43 // CHECK: string c = "a";
47 // CHECK: string c = "B0b";
48 // CHECK: string d = "B0";
52 // CHECK: string c = "B0cz";
53 // CHECK: string d = "B0";
56 multiclass A<string p, string q> {
73 multiclass B<string name, string t> {
78 defm b : A<NAME, "s">;
80 defm NAME # c # name : A<NAME, t>;
83 defm B0 : B<"z", "t">;
89 class C<string arg> : Cbase {
96 multiclass D<string arg> {