1 // P0846R0
2 // { dg-do compile }
3 // { dg-options "-std=c++2a" }
4 
5 template<class>
6 struct X {
7   int first = 0;
8 };
9 
10 int
f()11 f ()
12 {
13   X<int> x, y;
14   bool b = x.first < y.first;
15   return b;
16 }
17