diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/repl/toplevelTry.check | 3 |
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 |