Files
2017-12-16 17:19:45 -08:00

15 lines
259 B
Java

/*
* @test /nodynamiccopyright/
* @bug 4906400
* @summary (JSR175) compiler allows self-containing annotation types
* @author gafter
*
* @compile/fail/ref=Cycle1.out -XDrawDiagnostics Cycle1.java
*/
package cycle1;
@interface Foo {
Foo foo();
}