From be31fef41ad7585af15f3dc61be919ed9dc5ea1a Mon Sep 17 00:00:00 2001 From: Philipp Haller Date: Fri, 31 Jul 2009 14:47:42 +0000 Subject: Fixed #2212. --- test/files/run/t2212.scala | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/files/run/t2212.scala (limited to 'test/files/run/t2212.scala') diff --git a/test/files/run/t2212.scala b/test/files/run/t2212.scala new file mode 100644 index 0000000000..5f4447fa2b --- /dev/null +++ b/test/files/run/t2212.scala @@ -0,0 +1,10 @@ +object Test { + def main(args: Array[String]) { + import collection.mutable._ + val x4 = new LinkedList[Int](1, null) + println(x4) + val y4 = new LinkedList[Int](1, null) + println(y4) + println(x4 equals y4) // or (y4 equals x4) + } +} -- cgit v1.2.3