aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs172/pr389752/Code3.java
blob: 288aed79a31f9d59dbc7ce7d3c0185aaacf1a8dd (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 Code3 {
  declare parents: (@Foo(s=Color.GREEN) *) implements java.io.Serializable;
  // declare parents: (@Foo(color="AA", s="abc") *) implements java.io.Serializable;
}