Permalink
Browse files

test for SI-4728

  • Loading branch information...
xeno-by committed May 7, 2012
1 parent 7cac633 commit 3830947c94294b79190d024218746e40193e7e6b
Showing with 13 additions and 0 deletions.
  1. +2 −0 test/pending/run/t4728.check
  2. +11 −0 test/pending/run/t4728.scala
@@ -0,0 +1,2 @@
1
2
@@ -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))
}

0 comments on commit 3830947

Please sign in to comment.