summaryrefslogtreecommitdiffstats
path: root/tests/new/declare/DeclareWarningEmpty.java
blob: b310022b4c0e367a018c62ff43b41a1209cff6f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/** @testcase PR#31724 omnibus declare-warning test using default initializers/constructors*/
public class DeclareWarningEmpty {  // CE 3        





}

aspect A {
    declare warning: staticinitialization(DeclareWarningEmpty)   
        : "staticinitialization(DeclareWarningEmpty)";
    declare warning: initialization(DeclareWarningEmpty.new(..))   
        : "initialization(DeclareWarningEmpty)";
}