diff options
Diffstat (limited to 'test-nsc/files/pos/localmodules.scala')
-rw-r--r-- | test-nsc/files/pos/localmodules.scala | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/test-nsc/files/pos/localmodules.scala b/test-nsc/files/pos/localmodules.scala deleted file mode 100644 index 8ed34f455a..0000000000 --- a/test-nsc/files/pos/localmodules.scala +++ /dev/null @@ -1,22 +0,0 @@ -package test; - -object main { - - class a { - - object b { - - trait c {} - def foo(x: c): c = { System.out.println("foo(" + x + ")"); x } - - } - - def bar(x: b.c): a.this.b.c = { b.foo(x); x } - } - - def main(args: Array[String]) = { - val aa = new a; - val xx: aa.b.c = null; - System.out.println(aa.bar(xx)); - } -} |