// Regression test for the crash in // https://github.com/llvm/llvm-project/issues/54537 // // RUN: %clang_cc1 -std=c++20 -fsyntax-only -verify %s // expected-no-diagnostics template< class T > inline constexpr bool test_v = true; template struct A { A(const T = 1 ) requires test_v; }; struct B : A { using A::A; };