summaryrefslogtreecommitdiff
path: root/test/files/run/t5380.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t5380.scala')
-rw-r--r--test/files/run/t5380.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/t5380.scala b/test/files/run/t5380.scala
index 6083161a9b..66d12a0ca6 100644
--- a/test/files/run/t5380.scala
+++ b/test/files/run/t5380.scala
@@ -1,6 +1,6 @@
object Test {
def main(args: Array[String]) {
- val f = () => return try { 1 } catch { case _ => 0 }
+ val f = () => return try { 1 } catch { case _: Throwable => 0 }
f()
}
}