☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
ext
/
has_nothrow_constructor-2.C
☽
☼
gcc/testsuite/g++.dg/ext/has_nothrow_constructor-2.C
code
plain
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<>);