summaryrefslogtreecommitdiff
path: root/test/pos/matthias1.scala
blob: 418c2f32be7408b215d25c112abfc68d6305b966 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class A() {
     class B() {
         def foo(x: B) = 0
     }
}
module test {
  def main = {
    val a = new A();
    val b = new a.B();
    val c = new a.B();
    val d = b.foo(c);
    ()
  }
}