aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs153/pr149096/TestMain.aj
blob: 90b1cf6e74ec35c1090be9cd263caf2170711f78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
public class TestMain {
    public static void main(String args[]) {
        TestMain main = new TestMain();
        System.out.println(main.foo());
        System.out.println(main.foo());
        System.out.println(new TestMain().foo());
        System.out.println(main.foo());
    }

    public Object foo() {
        return ctr;
    }

    Integer ctr = new Integer(0);
}