1 // PR c++/90099
2 // { dg-do compile { target c++2a } }
3 
4 struct Unit {
5   int value;
6   // auto operator<=>(const Unit&) = default;
7 };
8 
9 template<Unit U, typename... Ts>
10 struct X {};
11 
12 template<Unit U, typename T, typename... Rest>
13 struct X<U, T, Rest...> {};
14