module pind.samples.ja.operator_overloading.operator_overloading_3; struct S { int i; int opCmp(S rhs) const { return i - rhs.i; // ← バグ } } void main() { assert(S(-2) > S(int.max)); // ← ソート順が間違っている }