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