2012-11-02 14:35:57 -07:00

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 {}