diff options
Diffstat (limited to 'test/pos/matthias1.scala')
-rw-r--r-- | test/pos/matthias1.scala | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/pos/matthias1.scala b/test/pos/matthias1.scala new file mode 100644 index 0000000000..418c2f32be --- /dev/null +++ b/test/pos/matthias1.scala @@ -0,0 +1,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); + () + } +} + |