Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
noexcept26.C
blob: 7c8b4137b62fe130d068411ab5449381b57cdfc5 [
file
] [
log
] [
blame
]
// PR c++/55443
// { dg-do compile { target c++11 } }
struct
X
{
constexpr
X
()
{
}
void
*
operator
new
(
__SIZE_TYPE__
,
void
*)
noexcept
;
};
int
main
()
{
noexcept
(
new
(
0
)
X
);
}