blob: 7a34313e906bd073a9ec4ba62ff06f847f107216 [file] [log] [blame]
// { dg-do compile }
template<typename> struct A
{
A<A> a; /* { dg-error "depth" } */
A() {}
};
A<int> a;
// { dg-prune-output "compilation terminated" }