Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
t14.C
blob: 68443a0fe6dbfa2d48b0ac3b83d21c0c9ae0fc07 [
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
};
// { dg-error "" } no semi
};
void
foo
()
{
TESTA
<
OBJECT
*>
*
foo
;
foo
=
new
TESTA
<
OBJECT
*>;
}