1/*
2 * @test /nodynamiccopyright/
3 * @bug 4865660
4 * @summary implement "metadata" (attribute interfaces and program annotations)
5 * @author gafter
6 *
7 * @compile/fail/ref=Z1.out -XDrawDiagnostics  Z1.java
8 */
9
10enum Color { red, green, blue }
11
12@interface Colored {
13    Color value();
14}
15
16@Colored(teal)
17class Martian {
18}
19