aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/elab1.C
blob: 614e73bac53fc8f483fb0ba3da5fb7aa894ae05f (plain)
1
2
3
4
5
6
7
8
9
typedef struct {} S;

S s1;
struct S* s2; // ERROR - S is a typedef name

template <class T>
struct X {
  friend class T; // ERROR - T is a template type parameter
};