summaryrefslogblamecommitdiff
path: root/test/files/pos/t5859.scala
blob: 2a31e68ee53d236e8c887cb91552332e0756987f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                        
class A {
  def f(xs: List[Int], ys: AnyRef*) = ()
  def f(xs: AnyRef*) = ()

  f()
  f(List[AnyRef](): _*)
  f(List(): _*)
  f(Nil: _*)
  f(Array(): _*)
  f(Array[AnyRef](): _*)
  f(List(1))
  f(List(1), Nil: _*)
  f(List(1), Array(): _*)
}