aboutsummaryrefslogtreecommitdiff
path: root/tests/run/exc.scala
blob: be999794a8eb05fca736395911a70080ba1aab59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
object Test extends dotty.runtime.LegacyApp {
  def foo() = {
    while (true) {
      try {
      } catch {
        case ex: Exception =>
      }
    }
  }
}