1// RUN: llvm-tblgen %s | FileCheck %s 2// XFAIL: vg_leak 3 4// CHECK: --- Defs --- 5 6// CHECK: def A0 { 7// CHECK: code Code = [{Simple}]; 8// CHECK: } 9 10// CHECK: def B0 { 11// CHECK: code Code = [{With paste 7}]; 12// CHECK: } 13 14class A<code c> { 15 code Code = c; 16} 17 18def A0 : A<"Simple">; 19 20class B<int i> : A<"With paste " # i>; 21 22def B0 : B<7>; 23