Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
derived1.C
blob: aebb3d59a96283cbafaf047f7cc12fb2cdaea94e [
file
] [
log
] [
blame
]
// { dg-do assemble }
class
A
{
public
:
typedef
int
Info
;
};
template
<
class
T
>
class
B
:
public
A
{
public
:
typedef
struct
{
int
a
;
int
b
;
}
Info
;
};
void
f
()
{
B
<
A
>::
Info
ie
;
ie
.
a
=
1
;
ie
.
b
=
2
;
}