aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs185/455608/Code2.java
blob: 6622b7b3e0c79761c6bed470fc633b08631a525d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

@Bar(String)
@Foo("abc")
public class Code2 {

}

@Retention(RetentionPolicy.RUNTIME)
@interface Foo { String value();}

@Retention(RetentionPolicy.RUNTIME)
@interface Bar {
	Class<?>[] value();
}