summaryrefslogtreecommitdiff
path: root/test/files/pos/t5508-min-okay2.scala
blob: 935f28609c9fefebaba8746169fa4718f389cbd4 (plain) (blame)
1
2
3
4
trait TopTrait { // must be nested and a trait
  private[this] val _st : Int = 0 // crashes if TopTrait is not top level
  val escape = { () => _st }
}