aboutsummaryrefslogtreecommitdiff
path: root/tests/run/i689.scala
blob: 262d13852f9ebd75e1d851cbdfb3857d44fa179b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
object Test {
  def main(args: Array[String]): Unit = {
    object A {
      def a = new A
      def y = 0
    }
    class A { A.y }
    A.a
  }
}