aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs171/pr387568/Code.java
blob: 8b86a3a68f1590d2fa84344ccebf61d21d44d0d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import java.lang.annotation.*;

class AAA {
  public void m() {
    Color[] cs = Color.values();
    Color c = Color.valueOf("R");
  }
}

@Anno
aspect Foo {
  after(): @annotation(Anno) {}
}

@Retention(RetentionPolicy.RUNTIME)
@interface Anno {}