From 506a5e334d57084322fa89119d72fa96beb824b6 Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Mon, 15 Jun 2015 17:50:04 +0200 Subject: Enable tests that succeed. --- tests/run/contrib674.scala | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/run/contrib674.scala (limited to 'tests/run/contrib674.scala') diff --git a/tests/run/contrib674.scala b/tests/run/contrib674.scala new file mode 100644 index 000000000..fe7ebcccd --- /dev/null +++ b/tests/run/contrib674.scala @@ -0,0 +1,19 @@ +// causes VerifyError with scala-2.5.1 + +object Test extends dotty.runtime.LegacyApp { + def bad(): Unit = { + try { + 1 + } catch { + case e: Throwable => + } finally { + try { + } catch { + case e: Throwable => + } + } + 1 + } + + bad +} -- cgit v1.2.3