From 5797aab80e960e41301006242ca30979ee39741b Mon Sep 17 00:00:00 2001 From: Simon Ochsenreither Date: Sat, 12 May 2012 17:10:10 +0200 Subject: Test for SI-5394. --- test/files/run/t5394.scala | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/files/run/t5394.scala (limited to 'test/files') 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 -- cgit v1.2.3