Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
t13.C
blob: f2c5180d43d54dccabe07282657b8456ba4dee39 [
file
] [
log
] [
blame
]
// { dg-do assemble }
template
<
class
A
>
class
B
{
public
:
B
();
A a
;
int
i
;
};
void
*
f
()
{
return
new
B
<
char
*>;
}
struct
foo
{
int
i
[
10
];
};
extern
B
<foo>
*
foop
;
void
f2
()
{
foop
=
new
B
<foo>
;
}