blob: 008654d44eafb7e3d3edbf7da5f655057aa9a286 [file] [log] [blame]
// PR c++/104079
// { dg-do compile { target c++11 } }
// A variant of noexcept74.C where f is a function template.
template<bool B>
struct AT {
template<class...> static void f() noexcept(B);
void g() noexcept(noexcept(f())) {
static_assert(noexcept(f()), "");
}
};