Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
libcore
/
3789983e89c9de252ef546a1b98a732a7d066650
/
.
/
test
/
langtools
/
tools
/
javac
/
annotations
/
neg
/
Cycle1.java
blob: e2bc66d71de92cf4e9db850221849f7c88f02e58 [
file
] [
log
] [
blame
]
/*
* @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
();
}