summaryrefslogtreecommitdiff
path: root/test/files/run/finally.check
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2011-03-04 16:10:40 +0000
committerIulian Dragos <jaguarul@gmail.com>2011-03-04 16:10:40 +0000
commit38adb1426f2d06a6993d3cc579db76efcd92a0ec (patch)
tree029d0d2e4dff52d04c0601a5ce837e753f7f64cf /test/files/run/finally.check
parente586206e08e70b22d33152c7802d658577fddcf5 (diff)
downloadscala-38adb1426f2d06a6993d3cc579db76efcd92a0ec.tar.gz
scala-38adb1426f2d06a6993d3cc579db76efcd92a0ec.tar.bz2
scala-38adb1426f2d06a6993d3cc579db76efcd92a0ec.zip
Fixed several issues with finally, closes #3965.
Diffstat (limited to 'test/files/run/finally.check')
-rw-r--r--test/files/run/finally.check30
1 files changed, 30 insertions, 0 deletions
diff --git a/test/files/run/finally.check b/test/files/run/finally.check
index fa565c8e8a..901a797426 100644
--- a/test/files/run/finally.check
+++ b/test/files/run/finally.check
@@ -1,5 +1,35 @@
+Running throwCatchFinally
hi
In Finally
java.lang.RuntimeException: ouch
+----------------------------------------
+Running retCatch
java.lang.Exception
in finally
+----------------------------------------
+Running throwCatch
+java.lang.Exception
+in finally
+COUGHT: java.lang.Exception
+----------------------------------------
+Running retBody
+in finally
+----------------------------------------
+Running throwBody
+java.lang.Exception
+in finally
+----------------------------------------
+Running retFinally
+body
+in finally 1
+in finally 2
+----------------------------------------
+Running throwFinally
+body
+in finally
+java.lang.Exception
+----------------------------------------
+Running nestedFinalies
+in finally 1
+in finally 2
+----------------------------------------