diff options
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/t5394.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/run/t5394.scala b/test/files/run/t5394.scala new file mode 100644 index 0000000000..1b39da3ac4 --- /dev/null +++ b/test/files/run/t5394.scala @@ -0,0 +1,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)) +}
\ No newline at end of file |