aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t2667.scala
blob: 7f1f36f00badc88bf9aae493d95cbc7f14077844 (plain) (blame)
1
2
3
4
5
6
object A {
  def foo(x: Int, y: Int*): Int = 45
  def foo[T](x: T*): Int = 55

  val x: Unit = foo(23, 23f)
}