15 lines
259 B
Java
Raw Normal View History

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