summaryrefslogtreecommitdiff
path: root/test/files/run/t1192.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t1192.scala')
-rw-r--r--test/files/run/t1192.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/run/t1192.scala b/test/files/run/t1192.scala
new file mode 100644
index 0000000000..3222bb0a37
--- /dev/null
+++ b/test/files/run/t1192.scala
@@ -0,0 +1,7 @@
+object Test extends App {
+ val v1: Array[Array[Int]] = Array(Array(1, 2), Array(3, 4))
+ def f[T](w: Array[Array[T]]) {
+ for (r <- w) println(r.deep.toString)
+ }
+ f(v1)
+}