[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / param1.C
blobe3784736fc440fab7780915e292967e978c2db20
1 // PR c++/22233
2 // Origin: Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
3 // { dg-do compile }
5 template<int> struct A
7   A();
8 };
10 template<int N, char> A<N>::A() {}  // { dg-error "got 2 template parameters|1 required" }
12 A<0> a;