jdk-24/test/langtools/tools/javac/annotations/neg/Dup.java
2017-09-12 19:03:39 +02:00

13 lines
217 B
Java

/*
* @test /nodynamiccopyright/
* @bug 4901265
* @summary JSR175 (3): don't allow repeated annotations
* @author gafter
*
* @compile/fail/ref=Dup.out -XDrawDiagnostics Dup.java
*/
@Dup
@Dup
@interface Dup {}