summaryrefslogtreecommitdiff
path: root/test/files/jvm/nest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/jvm/nest.java')
-rw-r--r--test/files/jvm/nest.java38
1 files changed, 0 insertions, 38 deletions
diff --git a/test/files/jvm/nest.java b/test/files/jvm/nest.java
deleted file mode 100644
index 3f6f0bebbd..0000000000
--- a/test/files/jvm/nest.java
+++ /dev/null
@@ -1,38 +0,0 @@
-package nestpkg;
-
-
-/** This file is needed for test 'nest.scala'. It should
- * be compiled with javac and packaged into lib/nest.jar
- */
-public class nest {
- public static class best {
- public static class rest {
- public static rest test = new rest();
- public static int x = 10;
- public int inc(int i) {
- return i + 1;
- }
- }
- }
-
-
- String name = "Outer name";
-
- public class Inn {
- int x;
-
- public Inn(int x) {
- this.x = x;
- }
-
- public void doSomething() {
- System.out.println("Inn " + name + " x: " + x);
- }
- }
-
- protected class ProtInn {
- public void doSomething() {
- System.out.println("ProtInn " + name);
- }
- }
-}