Sign in
gnu
/
gcc
/
4aef14b09557ce072f1269bd8a05fa2b1df0eda2
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
elab1.C
blob: f09ff6f1c4c9379b9990b91a2dcdec4541c9e41b [
file
] [
log
] [
blame
]
// { dg-do assemble }
typedef
struct
{}
S
;
// { dg-message "" } Previous declaration of S
S s1
;
struct
S
*
s2
;
// { dg-error "" } S is a typedef name
template
<
class
T
>
struct
X
{
friend
class
T
;
// { dg-error "" } T is a template type parameter
};