Debian Codegraph @

gcc/testsuite/g++.dg/template/pr16564.C

raw
1 // { dg-do compile }
2 template<typename> struct A
3 {
4 A<A> a; /* { dg-error "depth" } */
5 A() {}
6 };
7
8 A<int> a;
9
10 // { dg-prune-output "compilation terminated" }