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