mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
12 lines
318 B
Java
12 lines
318 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 6393539
|
|
* @summary no compile-time error for clone, etc. in annotation type
|
|
* @author Peter von der Ahé
|
|
* @compile/fail/ref=NoAnnotationMethods.out -XDrawDiagnostics NoAnnotationMethods.java
|
|
*/
|
|
|
|
public @interface NoAnnotationMethods {
|
|
int annotationType();
|
|
}
|