aboutsummaryrefslogtreecommitdiffstats
path: root/tests/pureJava/DefaultConsAndInner.java
blob: c01c7fe381c0e932fabd26b13b4d5cfd1a7d16e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import org.aspectj.testing.Tester;

public class DefaultConsAndInner {
    public static void main(String[] args) {
        new Outer.Inner("test");
        Tester.check("test");
    }
}

class Outer {
    static class Inner extends Outer {
        public Inner(String s) {
            Tester.note(s);
        }
    }
}