Skip to content

Commit

Permalink
test for SI-4728
Browse files Browse the repository at this point in the history
  • Loading branch information
xeno-by committed May 7, 2012
1 parent 7cac633 commit 3830947
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/pending/run/t4728.check
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
1
2
11 changes: 11 additions & 0 deletions test/pending/run/t4728.scala
Original file line number Diff line number Diff line change
@@ -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.