From e9ed9d4280246fece2268e69cca0fe316ba19b98 Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Wed, 2 May 2012 16:11:34 +0200 Subject: SI-5542 closed by test case --- test/files/pos/t5542.flags | 1 + test/files/pos/t5542.scala | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 test/files/pos/t5542.flags create mode 100644 test/files/pos/t5542.scala (limited to 'test/files') diff --git a/test/files/pos/t5542.flags b/test/files/pos/t5542.flags new file mode 100644 index 0000000000..464cc20ea6 --- /dev/null +++ b/test/files/pos/t5542.flags @@ -0,0 +1 @@ +-Xfatal-warnings -unchecked \ No newline at end of file diff --git a/test/files/pos/t5542.scala b/test/files/pos/t5542.scala new file mode 100644 index 0000000000..80b8cef030 --- /dev/null +++ b/test/files/pos/t5542.scala @@ -0,0 +1,3 @@ +class Test { + Option(3) match { case Some(n) => n; case None => 0 } +} \ No newline at end of file -- cgit v1.2.3