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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
elab1.C
blob
f09ff6f1c4c9379b9990b91a2dcdec4541c9e41b
1
// { dg-do assemble }
2
typedef struct {} S; // { dg-message "" } 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
};