Sign in
gnu
/
gcc
/
57ea00136418991e847e46a6946a81a1df70c9a4
/
.
/
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
*>;
}