summaryrefslogtreecommitdiff
path: root/test/files/run/trait-renaming/A_1.scala
blob: d0fab7bfc3444a683647dfcc238fa235f47422b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package bippy {
  class A {
    def f = {
      trait B {
        def f = 5
      }
      trait C {
        def g = 10
      }
      new B with C { }
    }

    def g = Class.forName("bippy.A$B$1$class")
  }
}