summaryrefslogtreecommitdiff
path: root/test/pending/run/t6408.scala
blob: ff17480b351f398dd999230fb6fe94ede60be076 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
class X(val i: Int) extends AnyVal {
  class Inner(val q: Int) {
    def plus = i + q
  }
}

object Test extends App {
  val x = new X(11)
  val i = new x.Inner(22)
  assert(i.plus == 33)
}