blob: fe87ffc5404ec013e98c2a9299e354208a6cc7ce [file] [log] [blame]
// PR c++/90099
// { dg-do compile { target c++20 } }
struct Unit {
int value;
// auto operator<=>(const Unit&) = default;
};
template<Unit U, typename... Ts>
struct X {};
template<Unit U, typename T, typename... Rest>
struct X<U, T, Rest...> {};