aboutsummaryrefslogblamecommitdiff
path: root/tests/run/contrib674.scala
blob: fe7ebcccd44c8f851e632ec04ea9a92450d48661 (plain) (tree)
1
2
3
4

                                      
                                             
                     














                            
// causes VerifyError with scala-2.5.1

object Test extends dotty.runtime.LegacyApp {
  def bad(): Unit = {
    try {
      1
    } catch {
      case e: Throwable =>
    } finally {
      try {
      } catch {
        case e: Throwable =>
      }
    }
    1
  }

  bad
}