summaryrefslogblamecommitdiff
path: root/test/files/jvm/nest.java
blob: dfb011732ced47f1e98dc3e087d77ec26ce729bc (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;
            }
        }
    }
}