// RUN: %clang_cc1 -std=c++2a -x c++ -verify %s // expected-no-diagnostics template constexpr static bool is_same_v = false; template constexpr static bool is_same_v = true; namespace PR56154 { template concept C0 = (N == 0); template concept C0x = C0; template concept C00 = C0x && C0; template struct A { void f() requires C00; void f() requires C0x = delete; static short g() requires C00; static int g() requires C0x; }; void h(A<0, 0> a) { a.f(); static_assert(is_same_v::g), short(*)()>); } }