Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr71405.C
blob: 52602437a081d4c1a3c8211d10c747fafec5c1eb [
file
] [
log
] [
blame
]
// PR tree-optimization/71405
// { dg-do compile }
struct
C
{
C
()
{}
int
i
;
};
void
*
operator
new
(
__SIZE_TYPE__ x
,
void
*
y
)
{
return
y
;
}
int
main
()
{
int
a
;
new
(&
a
)
C
;
return
a
;
}