================ @@ -20,6 +20,20 @@ class SpaceShipDefaultCompare { int operator<=>(const SpaceShipDefaultCompare &) const = default; }; +class EqDefaultCompareOutOfClass { + int used; ---------------- erichkeane wrote:
A comment here pointing out that we're validating that `used` doesn't get diagnosed would be helpful. https://github.com/llvm/llvm-project/pull/116965 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits