blob: ddb479313df70fda4e9338ca574bc7622bde1e7e [file] [log] [blame]
// PR c++/99806
// { dg-do compile { target c++14 } }
// { dg-additional-options "-fconcepts" }
template <typename T> concept C = requires (T a) { a.f(0); };
struct S {
void f(auto) noexcept(B);
static constexpr bool B = true;
};
static_assert(C<S>, "");