1// RUN: not llvm-tblgen %s 2>&1 | FileCheck %s 2// XFAIL: vg_leak 3 4class Cl<Cl rec> { 5 Cl Arec = rec; 6} 7 8// At the time A0 is referenced, A has not yet been established as a superclass. 9// This kind of self-reference is discourage, but if you *really* want it, you 10// can force it with !cast. 11// 12// CHECK: alue specified for template argument 'Cl:rec' 13 14def Rec0 : Cl<Rec0>; 15