diff options
Diffstat (limited to 'test/files/jvm/nest/nest.scala')
-rw-r--r-- | test/files/jvm/nest/nest.scala | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/test/files/jvm/nest/nest.scala b/test/files/jvm/nest/nest.scala deleted file mode 100644 index 3ab62484fa..0000000000 --- a/test/files/jvm/nest/nest.scala +++ /dev/null @@ -1,21 +0,0 @@ -//############################################################################ -// Test Scala interaction with Java nested classes and static members. -//############################################################################ - -/** found in nest.jar, compiled from nest.java */ -import nestpkg._; - -object Test extends Application { - val x = nest.best.rest.test - Console.println(x.inc(1)) - - val o = new nest.best; - val r = new nest.best.rest; - Console.println(nest.best.rest.test.inc(2)) - Console.println(nest.best.rest.x) - - print("Instantiating public inner class: ") - val outer = new nest - val inn = new outer.Inn(42) - inn.doSomething -} |