[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / void9.C
blob319a684fa435c82bf484e219404f46a43aedaf69
1 //PR c++/28738
3 template<int,void> struct A {};    // { dg-error "not a valid type" }
4 template<int N> struct A<N,0> {};  // { dg-message "invalid" }