summaryrefslogtreecommitdiff
path: root/test/files/run
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run')
-rw-r--r--test/files/run/interpreter.check3
-rw-r--r--test/files/run/interpreter.scala2
2 files changed, 5 insertions, 0 deletions
diff --git a/test/files/run/interpreter.check b/test/files/run/interpreter.check
index 722a8d1fd1..aa2776f34b 100644
--- a/test/files/run/interpreter.check
+++ b/test/files/run/interpreter.check
@@ -34,6 +34,9 @@ scala> hello
scala>
scala>
+scala> t1513: Array[Null] = Array(null)
+
+scala>
scala> atom: scala.xml.Atom[Unit] = ()
scala>
diff --git a/test/files/run/interpreter.scala b/test/files/run/interpreter.scala
index d68b6f6632..f5ce68a1b9 100644
--- a/test/files/run/interpreter.scala
+++ b/test/files/run/interpreter.scala
@@ -22,6 +22,8 @@ trait PointlessTrait
val (x,y) = (2,3)
println("hello")
+// ticket #1513
+val t1513 = Array(null)
// ambiguous toString problem from #547
val atom = new scala.xml.Atom()
// overriding toString problem from #1404