From 806a7b3b6f8c6e7df276bceaa7b0a19c580a3486 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Thu, 18 Aug 2016 17:50:43 +0200 Subject: Test reshuffling - Delete redundant t2660 (exists elready in pos) - Comment t1756 - Recategorize tryexpr --- tests/disabled/not-representable/pos/tryexpr.scala | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/disabled/not-representable/pos/tryexpr.scala (limited to 'tests/disabled/not-representable/pos/tryexpr.scala') diff --git a/tests/disabled/not-representable/pos/tryexpr.scala b/tests/disabled/not-representable/pos/tryexpr.scala new file mode 100644 index 000000000..c6c2febf7 --- /dev/null +++ b/tests/disabled/not-representable/pos/tryexpr.scala @@ -0,0 +1,10 @@ +// stretching more flexible try/catch's legs a bit +object o { + try Integer.parseInt("xxxx") catch { case e => 5 } + try 5 + try try try 10 + try try try 10 catch { case e => 20 } finally 30 + try try try 10 catch { case e => 20 } finally 30 finally 40 + try try try 10 catch { case e => 20 } finally 30 finally 40 finally 50 + try try try 10 finally 50 +} -- cgit v1.2.3