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