summaryrefslogtreecommitdiff
path: root/test/files/run/t5394.scala
blob: 1b39da3ac4abe3d51fae8f21b81b261aafcd701f (plain) (blame)
1
2
3
4
object Test extends App {
  def f[T](l: List[T]): Int = l match { case x :: xs => f(xs) case Nil => 0 }
  f(List.fill(10000)(0))
}