Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
eh
/
new2.C
blob: d4a1abfbf8581b8dc2e7fc2a3d4d3c616063a4f6 [
file
] [
log
] [
blame
]
// PR c++/104007
// { dg-do run }
extern
"C"
void
abort
();
#include
<new>
struct
S
{
~
S
()
{
abort
();
}
};
int
main
()
{
new
(
std
::
nothrow
)
S
[
1
];
}