1 // RUN: llvm-tblgen %s | FileCheck %s
33 // CHECK-NOT: zing = 4
35 class C1<int A, string B> {
41 def T : C1<4, "blah">;
43 multiclass t1<int a1> {
44 def S1 : C1<a1, "foo"> {
48 def S2 : C1<a1, "bar">;
51 multiclass t2<int a2> {
52 def S3 : C1<a2, "foo"> {
56 def S4 : C1<a2, "bar">;
59 multiclass s1<int as1, int bs1> : t1<as1> {
60 def S5 : C1<bs1, "moo"> {
64 def S6 : C1<bs1, "baz">;
67 multiclass s2<int as2> : t1<as2>, t2<as2>;
69 multiclass s3<int as3, int bs3> : t1<as3>, t2<as3> {
70 def S7 : C1<bs3, "moo"> {
74 def S8 : C1<bs3, "baz">;
78 defm FOO1 : s1<42, 24>;
84 defm FOO3 : s3<84, 48>;
86 def T4 : C1<6, "foo">;