Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
t14a.C
blob: c3a330a857ca2bdbb4fc2ed6c5951b79f6025f30 [
file
] [
log
] [
blame
]
// { dg-do assemble }
class
OBJECT
{
int
a
;
};
template
<
class
T
>
class
TESTA
{
public
:
TESTA
();
T foo
(
int
i
)
{
T t
=
0
;
return
t
;}
};
void
foo
()
{
TESTA
<
OBJECT
*>
*
foo
;
foo
=
new
TESTA
<
OBJECT
*>;
}