OSDN Git Service

Revert XFAIL removal.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / decl1.C
1 struct S {
2   template <class T>
3   int f(T), g(T); // ERROR - more than one declarator
4 };
5
6 template <class T>
7 void x(T), y(T); // ERROR - more than one declarator
8
9 template <class T>
10 struct S2 
11 {
12   static int i, j; // OK.
13 };
14
15 template <class T>
16 int S2<T>::i, S2<T>::j; // ERROR - more than one declarator
17
18 template <>
19 int S2<int>::i, S2<double>::i;  // ERROR - more than one declarator