summaryrefslogtreecommitdiff
path: root/test/files/neg/eta-expand-star-deprecation.scala
blob: 57496925224520717e87360b7eddc8b7429c1624 (plain) (blame)
1
2
3
4
5
6
7
8
object Test {
  def f[T](xs: T*): Unit = ()
  def g[T] = f[T] _

  def main(args: Array[String]): Unit = {
    g(1, 2)
  }
}