summaryrefslogblamecommitdiff
path: root/test/files/pos/t5508-min.scala
blob: f59d2bd6adb9d3d338a1a3311f49a6604d364b7c (plain) (tree)
1
2
3
4
5
6





                                                            
object Test {
  trait NestedTrait { // must be nested and a trait
    private[this] val _st : Int = 0 // must be private[this]
    val escape = { () => _st }
  }
}