Debian Codegraph @

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

raw
1 // PR c++/104079
2 // { dg-do compile { target c++11 } }
3
4 template<bool B>
5 struct AT {
6 static void f() noexcept(B);
7
8 void g() noexcept(noexcept(f())) {
9 static_assert(noexcept(f()), "");
10 }
11 };