summaryrefslogtreecommitdiff
path: root/test/files/run/eta-expand-star2.scala
blob: eb650788d07425ca2f1bb681cf2bab21ed92b1c6 (plain) (blame)
1
2
3
4
5
6
7
8
object Test {
  def f[T](xs: T*): T = xs.head
  def g[T] = f[T] _

  def main(args: Array[String]): Unit = {
    println(g("hello"))
  }
}