summaryrefslogtreecommitdiffstats
path: root/tests/new/StaticInitCE.java
blob: e13a9b47a31cd2f1103bbef4b8b981ab3feb4109 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
public class StaticInitCE {
   public static void main(String[] args) {
      new C();
   } 
}

class C { C() { } }

aspect A {
	// PR#458
    void around(): staticinitialization(C) {
       proceed();
    }
	// PR#490
    void around(): initialization(C.new()) {
       proceed();
    }
}