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
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
elab1.C
blob
5588651dfe5fef4152fe6ca9423b0fbebed92df8
1
// { dg-do assemble }
2
typedef struct {} S; // { dg-error "" } Previous declaration of S
3
4
S s1;
5
struct S* s2; // { dg-error "" } S is a typedef name
6
7
template <class T>
8
struct X {
9
friend class T; // { dg-error "" } T is a template type parameter
10
};