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