jdk-24/test/langtools/tools/javac/annotations/neg/DupTarget.java

15 lines
303 B
Java
Raw Normal View History

2007-12-01 00:00:00 +00:00
/*
* @test /nodynamiccopyright/
2007-12-01 00:00:00 +00:00
* @bug 4901271
* @summary <at>Target
* @author gafter
*
* @compile/fail/ref=DupTarget.out -XDrawDiagnostics DupTarget.java
2007-12-01 00:00:00 +00:00
*/
import static java.lang.annotation.ElementType.*;
2007-12-01 00:00:00 +00:00
@java.lang.annotation.Target({TYPE, FIELD, PACKAGE, FIELD})
@interface DupTarget {
}