diff options
Diffstat (limited to 'test/pending/run')
-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) +} |