aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs165/pr275625/F.java
blob: e881404e47035c11a92cc853f57d744b1b7a311d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import java.lang.annotation.*;

public class F {
  int f;

  public static void main(String []argv) {
  }

}

aspect X {
  declare @field: @J * F.f: @I;
  declare @field: * F.f: @K;
  declare @field: @K * F.f: @J;
}

@Retention(RetentionPolicy.RUNTIME)
@interface I {}
@Retention(RetentionPolicy.RUNTIME)
@interface J {}
@Retention(RetentionPolicy.RUNTIME)
@interface K {}