summaryrefslogtreecommitdiff
path: root/test/files/neg/t5120.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t5120.scala')
-rw-r--r--test/files/neg/t5120.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/t5120.scala b/test/files/neg/t5120.scala
index f28b2cfb4f..c7063b7d15 100644
--- a/test/files/neg/t5120.scala
+++ b/test/files/neg/t5120.scala
@@ -6,7 +6,7 @@ class Cell[T](x0: T) {
object Test {
val str: Cell[String] = new Cell("a")
val other: Cell[Int] = new Cell(0)
-
+
def main(args: Array[String]): Unit = {
List(str, other) foreach (_.x1 = new AnyRef)
str.x1.length