blob: e3784736fc440fab7780915e292967e978c2db20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// PR c++/22233
// Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
// { dg-do compile }
template<int> struct A
{
A();
};
template<int N, char> A<N>::A() {} // { dg-error "got 2 template parameters|1 required" }
A<0> a;
|