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