new tests. No review.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@22834 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
odersky 2010-08-24 14:59:54 +00:00
parent 0003edcb45
commit e7eea96e96
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,2 @@
object Test extends Application {
val x = Array(Array(1), List(1))

11
test/pending/run/t3609.scala Executable file
View File

@ -0,0 +1,11 @@
object Test extends Application {
class A
class B extends A
def foo(x: A, y: B) = print(1)
val foo = new {
//def apply(x: B, y: A) = print(3)
def apply = (x: B, z: B) => print(4)
}
foo(new B, new B)
}