diff options
Diffstat (limited to 'tests/pos/points.scala')
-rw-r--r-- | tests/pos/points.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/pos/points.scala b/tests/pos/points.scala new file mode 100644 index 000000000..db6104c88 --- /dev/null +++ b/tests/pos/points.scala @@ -0,0 +1,8 @@ +class Point extends Comparable[Point] { + override def compareTo(other: Point): Int = ??? +} + +class ColoredPoint extends Point with Comparable[ColoredPoint] { + override def compareTo(other: ColoredPoint): Int = ??? +} + |