// PR c++/38634 template struct A { A(); }; template A::A() // { dg-error "template|required" } { struct B {}; } A<0> a;