3789983e89
Reviewed-by: darcy, ihse
13 lines
289 B
Java
13 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 {}
|