URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [param1.C] - Rev 154
Go to most recent revision | Compare with Previous | Blame | View Log
// 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|but 1 required" }
A<0> a;
Go to most recent revision | Compare with Previous | Blame | View Log