URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [decl1.C] - Rev 716
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
struct S {
template <class T>
int f(T), g(T); // { dg-error "" } more than one declarator
};
template <class T>
void x(T), y(T); // { dg-error "" } more than one declarator
template <class T>
struct S2
{
static int i, j; // OK.
};
template <class T>
int S2<T>::i, S2<T>::j; // { dg-error "" } more than one declarator
template <>
int S2<int>::i, S2<double>::i; // { dg-error "" } more than one declarator
Go to most recent revision | Compare with Previous | Blame | View Log