blob: 505131915c97fdef28f15f2f1c6f66540b81f5ab [file]
/*
* @test /nodynamiccopyright/
* @bug 4865660
* @summary implement "metadata" (attribute interfaces and program annotations)
* @author gafter
*
* @compile/fail/ref=Z2.out -XDrawDiagnostics Z2.java
*/
enum Color { red, green, blue }
interface Colored {
Color value() default Color.red;
}