blob: 5814251f95e762057a06911173eed6ca67d70383 [file] [log] [blame]
struct S {
template <class T>
int f(T), g(T); // ERROR - more than one declarator
};
template <class T>
void x(T), y(T); // 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; // ERROR - more than one declarator
template <>
int S2<int>::i, S2<double>::i; // ERROR - more than one declarator