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