aboutsummaryrefslogblamecommitdiff
path: root/tests/run/exc1.scala
blob: c48b4c156f17c6823595ab53fc4b3b4780cecce9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                             
object Test extends dotty.runtime.LegacyApp {
  def foo(): Unit = {
    while (true) {
      try {
      } catch {
        case ex: Exception =>
      }
    }
  }
}