repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
elab1.C
blob
614e73bac53fc8f483fb0ba3da5fb7aa894ae05f
1
typedef struct {} S;
2
3
S s1;
4
struct S* s2; // ERROR - S is a typedef name
5
6
template <class T>
7
struct X {
8
friend class T; // ERROR - T is a template type parameter
9
};