summaryrefslogtreecommitdiff
path: root/test/files/run/t9920c.scala
blob: 9541dc650a6cf628ef1e39370f0679856c6a1693 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
class C0
trait T { self: C0 =>
  def test = {
    object Local

    class C2 {
      class C1 {
        Local
      }
      T.this.toString
      new C1
    }
    new C2()
  }
}

object Test extends C0 with T {
  def main(args: Array[String]): Unit = {
    test
  }
}