Debian Codegraph @

gcc/testsuite/g++.dg/ext/has_nothrow_constructor-2.C

raw
1 // PR c++/55842
2 // { dg-do compile { target c++11 } }
3
4 template <class=void> struct number {
5 number() noexcept(noexcept(0)) { }
6 };
7 const int z=__has_nothrow_constructor(number<>);