From 1f8b5691dabaae336c3c3f568b303eb24e783494 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Tue, 27 Jan 2015 12:46:48 +0100 Subject: Test reorg --- tests/pos/t3411.scala | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/pos/t3411.scala (limited to 'tests/pos/t3411.scala') diff --git a/tests/pos/t3411.scala b/tests/pos/t3411.scala new file mode 100644 index 000000000..6d46be4e4 --- /dev/null +++ b/tests/pos/t3411.scala @@ -0,0 +1,8 @@ +object A { + def g(c: PartialFunction[Any,Unit]): Unit = {} + + def f: Unit = { + lazy val x = 0 + g { case `x` => } + } +} -- cgit v1.2.3