summaryrefslogtreecommitdiff
path: root/test/files/pos/private-types-after-typer.scala
blob: 79ef934063825210cb62cb3d940ec49a2044f8e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
// Testing that the type of the outer accessor in O2
// doesn't crash the compiler over private type escaping scope.
trait T {
  class C {
     private object O1 {
        object O2
     }
  }
}