summaryrefslogtreecommitdiff
path: root/test/files/run/t7407.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t7407.scala')
-rw-r--r--test/files/run/t7407.scala11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/run/t7407.scala b/test/files/run/t7407.scala
new file mode 100644
index 0000000000..cf67602126
--- /dev/null
+++ b/test/files/run/t7407.scala
@@ -0,0 +1,11 @@
+// SI-7407
+object Test {
+
+ def main(args: Array[String]) { println(foo) }
+
+ def foo: String = {
+ try return "Hello" finally 10 match {case x => ()}
+ }
+
+}
+