summaryrefslogtreecommitdiff
path: root/test/files/run/t3050.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t3050.scala')
-rw-r--r--test/files/run/t3050.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/t3050.scala b/test/files/run/t3050.scala
index ca9d91e191..65b2674b69 100644
--- a/test/files/run/t3050.scala
+++ b/test/files/run/t3050.scala
@@ -2,7 +2,7 @@ object Test {
def main(args: Array[String]): Unit = {
val x =
try { ("": Any) match { case List(_*) => true } }
- catch { case _ => false }
+ catch { case _: Throwable => false }
assert(!x)
}