Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
new1.C
blob: d8c376617d2e2be37a9228b556bf40dd22c8432f [
file
] [
log
] [
blame
]
struct
T
;
// { dg-message "forward" }
T
*
manage
(
T
*
t
);
template
<
class
Obj
>
struct
ObjectSlot0_
{
void
create
()
{
void
*
tmp
=
manage
(
new
T
());
// { dg-error "incomplete" }
}
};