Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / noexcept74.C
blobc439c9dc88ca5c08b641aa9cb274f491e7a15d01
1 // PR c++/104079
2 // { dg-do compile { target c++11 } }
4 template<bool B>
5 struct AT {
6   static void f() noexcept(B);
8   void g() noexcept(noexcept(f())) {
9     static_assert(noexcept(f()), "");
10   }