summaryrefslogblamecommitdiff
path: root/test/files/run/contrib674.scala
blob: bb9dad3686a90885d7bcf63efb740b8283b2c221 (plain) (tree)
1
2
3
4
5
6
7
8

                                      
                         
                     


             
                          


               
                            






       
// causes VerifyError with scala-2.5.1

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

  bad
}