[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / ctor5.C
blob047543cf85b90b57f44a506dc55c68ae5f345827
1 // PR c++/24278
3 template<typename T> struct A
5   A() : T(0) {} // { dg-error "base" }
6 };
8 A<int*> a; // { dg-message "required" }