summaryrefslogtreecommitdiff
path: root/test/files/run/contrib674.scala
blob: bb9dad3686a90885d7bcf63efb740b8283b2c221 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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
}