aboutsummaryrefslogtreecommitdiff
path: root/tests/repl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/repl')
-rw-r--r--tests/repl/toplevelTry.check3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/repl/toplevelTry.check b/tests/repl/toplevelTry.check
new file mode 100644
index 000000000..9d2c87b35
--- /dev/null
+++ b/tests/repl/toplevelTry.check
@@ -0,0 +1,3 @@
+scala> try { 0 } catch { _: Throwable => 1 }
+res0: Int = 0
+scala> :quit