From 7ed18f3300c537600eceaa6b954a867aef91cb81 Mon Sep 17 00:00:00 2001 From: Aleksandar Pokopec Date: Mon, 11 Jul 2011 15:17:45 +0000 Subject: Fixes #4398. Review by extempore. --- test/files/run/t4398.scala | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/files/run/t4398.scala (limited to 'test/files/run') diff --git a/test/files/run/t4398.scala b/test/files/run/t4398.scala new file mode 100644 index 0000000000..1d57eb688d --- /dev/null +++ b/test/files/run/t4398.scala @@ -0,0 +1,11 @@ + + +object Test { + def main(args: Array[String]) { + val x = 1 to 10 toSet + val y = x + 5 + val z = y - 154321 + assert(x eq y) + assert(x eq z) + } +} -- cgit v1.2.3