aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs151/pr124654/TestSubAspect.java
blob: 4af2d303fe98f152f89260cb897012fdaef7c3da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import java.lang.annotation.*;

public aspect TestSubAspect extends GenericAnnotation<MyAnnotation> {

  public static void main(String []argv) {
    new BasicType().run();
  }
}

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


class BasicType {
  @MyAnnotation
  public void run() {
    System.err.println("run running");
  }
}