Merge from trunk: 215733-215743
[official-gcc.git] / main / gcc / testsuite / g++.dg / template / pr16564.C
blob7a34313e906bd073a9ec4ba62ff06f847f107216
1 // { dg-do compile }
2 template<typename> struct A
4   A<A> a; /* { dg-error "depth" } */
5   A() {}
6 };
8 A<int> a;
10 // { dg-prune-output "compilation terminated" }