Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.other / elab1.C
blob5588651dfe5fef4152fe6ca9423b0fbebed92df8
1 // { dg-do assemble  }
2 typedef struct {} S; // { dg-error "" } Previous declaration of S
4 S s1;
5 struct S* s2; // { dg-error "" } S is a typedef name
7 template <class T>
8 struct X {
9   friend class T; // { dg-error "" } T is a template type parameter