aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs172/pr389752/Code2.java
blob: ccf80bb0274abaef6642871c35eed14c26012e94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import java.lang.annotation.*;

enum Color { RED,GREEN,BLUE; }

@Retention(RetentionPolicy.RUNTIME)
@interface Foo {
  String s() default "xyz";
  Color color();
}


aspect Code2 {
  declare parents: (@Foo(color="AA") *) implements java.io.Serializable;
  // declare parents: (@Foo(color="AA", s="abc") *) implements java.io.Serializable;
}