summaryrefslogtreecommitdiffstats
path: root/tests/pureJava/InnerClassesInAnnonymousClasses.java
blob: 166ca5bcfe9d08611298162450090bcb56594ba8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
public class InnerClassesInAnnonymousClasses {
    public static void main(String[] args) {
        new InnerClassesInAnnonymousClasses().realMain(args);
    }
    public void realMain(String[] args) {


        new Runnable() {
                public void run() {}
                class Inner {}
                Inner inner = new Inner();
            };
    }

    
}