blob: 3410f15ba4a81bc6302588db825f5606b7a0f608 [file] [log] [blame]
// 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 <typename T>
struct A {
A(const T = 1 ) requires test_v<T>;
};
struct B : A<int> {
using A<int>::A;
};