blob: 91267aca3839bf4c0b27929c87562d893f0e292f [file] [log] [blame]
// PR c++/90099
// { dg-do compile { target c++2a } }
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...> {};