diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-05-08 01:00:40 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-05-08 01:00:40 +0200 |
commit | 3830947c94294b79190d024218746e40193e7e6b (patch) | |
tree | ed26c36b84ce78c94229f16346629d095172b539 /test/pending/run | |
parent | 7cac6334d4437ff54c4979799574045501f64135 (diff) | |
download | scala-3830947c94294b79190d024218746e40193e7e6b.tar.gz scala-3830947c94294b79190d024218746e40193e7e6b.tar.bz2 scala-3830947c94294b79190d024218746e40193e7e6b.zip |
test for SI-4728
Diffstat (limited to 'test/pending/run')
-rw-r--r-- | test/pending/run/t4728.check | 2 | ||||
-rw-r--r-- | test/pending/run/t4728.scala | 11 |
2 files changed, 13 insertions, 0 deletions
diff --git a/test/pending/run/t4728.check b/test/pending/run/t4728.check new file mode 100644 index 0000000000..7a754f414c --- /dev/null +++ b/test/pending/run/t4728.check @@ -0,0 +1,2 @@ +1 +2
\ No newline at end of file diff --git a/test/pending/run/t4728.scala b/test/pending/run/t4728.scala new file mode 100644 index 0000000000..36f7860613 --- /dev/null +++ b/test/pending/run/t4728.scala @@ -0,0 +1,11 @@ +class X +class Y extends X +object Ambiguous { + def f(x: X) = 1 + def f(ys: Y*) = 2 +} + +object Test extends App { + println(Ambiguous.f(new X)) + println(Ambiguous.f(new Y)) +}
\ No newline at end of file |