summaryrefslogtreecommitdiff
path: root/test/files/run/t3050.scala
blob: 65b2674b69b73c03a07697e6c62442250f7c2866 (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)
  }
}