aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs170/pr377130/Foo2.java
blob: b1b194f61d0c93654a995110d4832d00bf566f47 (plain)
1
2
3
4
5
6
7
8
9
10
11
import java.lang.annotation.*;

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

@Anno
privileged aspect Foo2 {
  public static void main(String []argv) {
    System.out.println(Foo2.class.getAnnotation(Anno.class));
  }
}