aboutsummaryrefslogtreecommitdiff
path: root/tests/new/matthias1.scala
blob: a923a529fe0fcabac4a173821185f09d19a6b462 (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
     }
}
object test {
  def main = {
    val a = new A();
    val b = new a.B();
    val c = new a.B();
    val d = b.foo(c);
    ()
  }
}