jdk-24/langtools/test/tools/javac/6330920/T6330920.java

13 lines
357 B
Java
Raw Normal View History

2007-12-01 00:00:00 +00:00
/*
* @test /nodynamiccopyright/
* @bug 6330920
* @summary Verify that javac doesn't duplicate method error on method with error
* @author Peter von der Ah\u00e9
* @compile/fail/ref=T6330920.out -XDstdout -XDrawDiagnostics T6330920.java
*/
public class T6330920 {
public void test(T6330920 x) {}
public void test(T6330920Missing x) {}
}