Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
);