aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2016-08-07 20:00:49 -0700
committerGitHub <noreply@github.com>2016-08-07 20:00:49 -0700
commitbe1f099d19def5a7ecba7c52e0113dbd0f7c4944 (patch)
tree558060447439fd303e3ed2b6416de0e75b8093e7 /tests
parent01bd9482d6d1565bfeb17526bed836f0feaeb0d1 (diff)
parent28bc8e83a09e00ff6c06752faee530298b22a640 (diff)
downloaddotty-be1f099d19def5a7ecba7c52e0113dbd0f7c4944.tar.gz
dotty-be1f099d19def5a7ecba7c52e0113dbd0f7c4944.tar.bz2
dotty-be1f099d19def5a7ecba7c52e0113dbd0f7c4944.zip
Merge pull request #1439 from cswinter/parsedtry
Fix #1367: Add ParsedTry case to UntypedTree{Copier,Map,Accumulator}
Diffstat (limited to 'tests')
-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