FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / elab1.C
blob614e73bac53fc8f483fb0ba3da5fb7aa894ae05f
1 typedef struct {} S;
3 S s1;
4 struct S* s2; // ERROR - S is a typedef name
6 template <class T>
7 struct X {
8   friend class T; // ERROR - T is a template type parameter
9 };