aboutsummaryrefslogtreecommitdiff
path: root/tests/pos-scala2/t3050.scala
blob: 160f8b664bef4881e7f9e33afb0f9112f4b3fbe9 (plain) (blame)
1
2
3
4
5
6
7
8
9
object Test {
  def main(args: Array[String]): Unit = {
    val x =
      try { ("": Any) match { case List(_*) => true } }
      catch { case _: Throwable => false }

    assert(!x)
  }
}