From fb87f2de763e558c8639905ea8dfb447b5212cf7 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Sat, 3 Mar 2012 15:06:02 -0800 Subject: Test case closes SI-4777. And pending tests for most of the other VerifyErrors which still fail to verify. --- test/pending/run/t3702.scala | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/pending/run/t3702.scala (limited to 'test/pending/run/t3702.scala') diff --git a/test/pending/run/t3702.scala b/test/pending/run/t3702.scala new file mode 100644 index 0000000000..e08fc12e76 --- /dev/null +++ b/test/pending/run/t3702.scala @@ -0,0 +1,10 @@ +object Test { + def main(args: Array[String]) { + foo(Nil, Nil) + } + + def foo(h: Any, t: List[Any]) = h match { + case 5 :: _ => () + case List(from) => List(from, from, from) + } +} -- cgit v1.2.3