Debian Codegraph @

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

raw
1 // PR c++/98333
2 // { dg-do compile { target c++11 } }
3
4 struct T {
5 template <bool N>
6 struct S {
7 S () noexcept (N) {}
8 };
9 int a = __has_nothrow_constructor (S<true>);
10 };