jdk-24/test/langtools/tools/javac/annotations/neg/MemberOver.java
2017-09-12 19:03:39 +02:00

15 lines
296 B
Java

/*
* @test /nodynamiccopyright/
* @bug 4989667
* @summary Annotation members must not have same signature as Object or Annotation members
* @author gafter
*
* @compile/fail/ref=MemberOver.out -XDrawDiagnostics MemberOver.java
*/
package memberOver;
@interface T {
int hashCode();
}