diff options
author | Martin Odersky <odersky@gmail.com> | 2010-08-24 14:59:54 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2010-08-24 14:59:54 +0000 |
commit | 3657dd345fa727773109227e2557881cd1bfa891 (patch) | |
tree | a2bb4e6ac6192ff4ccdc9fd2828e8ebc35c2e0c9 /test/pending | |
parent | bb7b9fe850f14a6c4e65c9dd9801695e0512b7f4 (diff) | |
download | scala-3657dd345fa727773109227e2557881cd1bfa891.tar.gz scala-3657dd345fa727773109227e2557881cd1bfa891.tar.bz2 scala-3657dd345fa727773109227e2557881cd1bfa891.zip |
new tests. No review.
Diffstat (limited to 'test/pending')
-rwxr-xr-x | test/pending/run/t3609.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/pending/run/t3609.scala b/test/pending/run/t3609.scala new file mode 100755 index 0000000000..262948137d --- /dev/null +++ b/test/pending/run/t3609.scala @@ -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) +} |