Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
new2.C
blob: 682ca6e18620f06c4415e18257bcdbe0b0956468 [
file
] [
log
] [
blame
]
// PR c++/21336
typedef
__SIZE_TYPE__
size_t
;
template
<
class
_T
>
void
*
operator
new
(
size_t
Size
,
_T
&);
struct
B
{
int
a
;
int
*
m
()
{
return
new
(
a
)
int
;
}
};
B
*
n
()
{
return
new
B
();
}