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.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/files/jvm/nest.java b/test/files/jvm/nest.java
new file mode 100644
index 0000000000..dfb011732c
--- /dev/null
+++ b/test/files/jvm/nest.java
@@ -0,0 +1,17 @@
+package a;
+
+
+/** 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;
+ }
+ }
+ }
+}