summaryrefslogtreecommitdiff
path: root/test/files/run/bug1192.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2007-07-12 14:56:50 +0000
committerMartin Odersky <odersky@gmail.com>2007-07-12 14:56:50 +0000
commit080802c84dd71fe6b6912025d4338e8b122a6a9a (patch)
treeca64772a9fdf2912d2cfcadae2bacebc37e29202 /test/files/run/bug1192.scala
parenta874f351097b67eef720bb64faffc603070526ed (diff)
downloadscala-080802c84dd71fe6b6912025d4338e8b122a6a9a.tar.gz
scala-080802c84dd71fe6b6912025d4338e8b122a6a9a.tar.bz2
scala-080802c84dd71fe6b6912025d4338e8b122a6a9a.zip
1.
2. some new tests. 3. split Type.symbol to typeSymbol/termSymbol 4. some fixes to lub opertation
Diffstat (limited to 'test/files/run/bug1192.scala')
-rwxr-xr-xtest/files/run/bug1192.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/run/bug1192.scala b/test/files/run/bug1192.scala
new file mode 100755
index 0000000000..9e9173b0dc
--- /dev/null
+++ b/test/files/run/bug1192.scala
@@ -0,0 +1,7 @@
+object Test extends Application {
+ val v1: Array[Array[Int]] = Array(Array(1, 2), Array(3, 4))
+ def f[T](w: Array[Array[T]]) {
+ for (val r <- w) println(r.toString)
+ }
+ f(v1)
+}