// RUN: %clang_cc1 -fsyntax-only -verify -std=c++20 %s // expected-no-diagnostics template struct BC { static constexpr bool value = v; }; template struct Constructible : BC<__is_constructible(T, Arg)> {}; template using Requires = T::value; template struct optional { template > = true> optional(U) {} }; struct MO {}; struct S : MO {}; struct TB { TB(optional) {} }; class TD : TB, MO { using TB::TB; }; void foo() { static_assert(Constructible::value); }