Daily bump.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / noexcept74a.C
blob008654d44eafb7e3d3edbf7da5f655057aa9a286
1 // PR c++/104079
2 // { dg-do compile { target c++11 } }
3 // A variant of noexcept74.C where f is a function template.
5 template<bool B>
6 struct AT {
7   template<class...> static void f() noexcept(B);
9   void g() noexcept(noexcept(f())) {
10     static_assert(noexcept(f()), "");
11   }