summaryrefslogtreecommitdiff
path: root/test/files/run/t7807.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t7807.scala')
-rw-r--r--test/files/run/t7807.scala21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/files/run/t7807.scala b/test/files/run/t7807.scala
new file mode 100644
index 0000000000..8e3099ec14
--- /dev/null
+++ b/test/files/run/t7807.scala
@@ -0,0 +1,21 @@
+object Test {
+ def main(args: Array[String]) {
+ try {
+ println("...")
+ }
+ finally {
+ try {
+ println("...")
+ }
+ finally {
+ try {
+ println("...")
+ }
+ catch {
+ case ct: scala.util.control.ControlThrowable => throw(ct)
+ case t: Throwable => t.printStackTrace()
+ }
+ }
+ }
+ }
+}