☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
eh
/
new2.C
☽
☼
gcc/testsuite/g++.dg/eh/new2.C
code
plain
raw
1
// PR c++/104007
2
// { dg-do run }
3
4
extern "C" void abort();
5
#include <new>
6
7
struct S { ~S() { abort(); } };
8
int main() {
9
new (std::nothrow) S[1];
10
}