Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
launder6.cc
blob: 1822891a0a07697f8313e71a3796ac5f625ceb76 [
file
] [
log
] [
blame
]
#include
"launder6.h"
void
*
operator
new
(
decltype
(
sizeof
(
0
)),
void
*
p
)
{
return
p
;
}
int
y
=
666
;
void
f
(
B
&
b
)
{
new
(&
b
.
a
)
A
{
y
};
}