Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/new1.C

raw
1 // PR c++/52216
2 // { dg-require-effective-target c++11 }
3
4 #include <new>
5
6 int n;
7
8 static_assert(!noexcept(::new (std::nothrow) int[n]), "");