blob: 8979ca1cdd0d4999c3b6d4e7731143f9a2247bb4 [file]
/*
* @test /nodynamiccopyright/
* @bug 6393539
* @summary no compile-time error for clone, etc. in annotation type
* @author Peter von der Ahé
* @compile/fail/ref=NoClone.out -XDrawDiagnostics NoClone.java
*/
public @interface NoClone {
Object clone();
}