Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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" }
}
};