Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
noexcept27.C
blob: c44902d862aa74151632d11003f0d9225bdcc165 [
file
] [
log
] [
blame
]
// PR c++/55443
// { dg-do compile { target c++11 } }
struct
X
{
X
()
=
default
;
X
(
int
);
void
*
operator
new
(
__SIZE_TYPE__
,
void
*)
noexcept
;
};
X x
;
bool
b
=
noexcept
(
new
(
0
)
X
);