diff options
Diffstat (limited to 'test/files/run/t2212.scala')
-rw-r--r-- | test/files/run/t2212.scala | 10 |
1 files changed, 10 insertions, 0 deletions
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) + } +} |