Debian Codegraph @

gcc/testsuite/g++.dg/other/default13.C

raw
1 // PR c++/85028
2
3 struct A;
4
5 template < typename > struct B
6 {
7 B (int, A = A()) : f (0) {} // { dg-error "incomplete type" }
8 int f;
9 };
10
11 B < int > b (0);