blob: 1acb2eca4dbffa615564c9bbb5e743872193c75f [file] [log] [blame]
/*
* @test /nodynamiccopyright/
* @bug 6843077 8006775
* @summary check for missing annotation value
* @author Mahmood Ali
* @compile/fail/ref=MissingAnnotationValue.out -XDrawDiagnostics MissingAnnotationValue.java
*/
import java.lang.annotation.*;
class MissingAnnotationValue {
void innermethod() {
class Inner<@A K> { }
}
}
@Target(ElementType.TYPE_USE)
@interface A { int field(); }