summaryrefslogtreecommitdiff
path: root/test/files/run/t7181.check
diff options
context:
space:
mode:
authorJames Iry <jamesiry@gmail.com>2013-02-25 16:25:22 -0800
committerJames Iry <jamesiry@gmail.com>2013-02-25 16:26:53 -0800
commit28a716190c5faf549ed302a1c19d9611c32d2010 (patch)
tree5f4b0472cb3e9621a9823cbd463b6c2ad4992f76 /test/files/run/t7181.check
parentf2be783020a1c8e05ebcae3717740632b41d1751 (diff)
downloadscala-28a716190c5faf549ed302a1c19d9611c32d2010.tar.gz
scala-28a716190c5faf549ed302a1c19d9611c32d2010.tar.bz2
scala-28a716190c5faf549ed302a1c19d9611c32d2010.zip
SI-7181 Prepare to remove duplicated finally blocks
As a first step towards fixing 7181, this commit improves the comments and variable names around generating try/catch/finally blocks in GenICode and adds a test verifying the current functionality of try/catch/finally blocks
Diffstat (limited to 'test/files/run/t7181.check')
-rw-r--r--test/files/run/t7181.check23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/files/run/t7181.check b/test/files/run/t7181.check
new file mode 100644
index 0000000000..e4b8e30dfe
--- /dev/null
+++ b/test/files/run/t7181.check
@@ -0,0 +1,23 @@
+normal exit MainNormalExit
+finally MainNormalExit
+normal flow MainNormalExit
+
+return MainReturn
+finally MainReturn
+
+uncaught exception MainUncaughtException
+finally MainUncaughtException
+
+caught exception ExceptionNormalExit
+normal exit ExceptionNormalExit
+finally ExceptionNormalExit
+normal flow ExceptionNormalExit
+
+caught exception ExceptionReturn
+return ExceptionReturn
+finally ExceptionReturn
+
+caught exception ExceptionUncaughtException
+uncaught exception ExceptionUncaughtException
+finally ExceptionUncaughtException
+