summaryrefslogblamecommitdiff
path: root/test/files/run/bug949.scala
blob: 9cce7bc6e6e9e334754d17099ebcc9671707e202 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                              
object Test extends Application {

    def f = new T { val state = State.A }

    private object State extends Enumeration {
        val A, B = Value
    }

    f
}

trait T {
}