mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 18:44:38 +02:00
12 lines
289 B
Java
12 lines
289 B
Java
/**
|
|
* @test /nodynamiccopyright/
|
|
* @bug 7169362
|
|
* @author sogoel
|
|
* @summary Foo is not a repeatable annotation but used as one.
|
|
* @compile/fail/ref=NoRepeatableAnno.out -XDrawDiagnostics NoRepeatableAnno.java
|
|
*/
|
|
|
|
@interface Foo {}
|
|
|
|
@Foo @Foo
|
|
public class NoRepeatableAnno {}
|