Closed
Description
I'm observing crashes when compiling the following snipped with clang trunk. Clang 19 doesn't crash.
#include <cstdint>
template<typename T>
class TExprBase;
template<std::size_t dim, std::size_t rank, template<std::size_t, std::size_t> typename T>
class TExprBase<T<dim, rank>>
{
public:
void Curl() const requires (dim == 3u && rank == 1u);
};
template<std::size_t dim, std::size_t rank, template<std::size_t, std::size_t> typename T>
void TExprBase<T<dim, rank>>::Curl() const requires (dim == 3u && rank == 1u)
{
}