aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/contrib674.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/run/contrib674.scala')
-rw-r--r--tests/pending/run/contrib674.scala19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/pending/run/contrib674.scala b/tests/pending/run/contrib674.scala
new file mode 100644
index 000000000..45c9871fc
--- /dev/null
+++ b/tests/pending/run/contrib674.scala
@@ -0,0 +1,19 @@
+// causes VerifyError with scala-2.5.1
+
+object Test extends App {
+ def bad() {
+ try {
+ 1
+ } catch {
+ case e: Throwable =>
+ } finally {
+ try {
+ } catch {
+ case e: Throwable =>
+ }
+ }
+ 1
+ }
+
+ bad
+}