Skip to content

Commit 5797aab

Browse files
committed
Test for SI-5394.
1 parent d55ea54 commit 5797aab

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/files/run/t5394.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
object Test extends App {
2+
def f[T](l: List[T]): Int = l match { case x :: xs => f(xs) case Nil => 0 }
3+
f(List.fill(10000)(0))
4+
}

0 commit comments

Comments
 (0)