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

13 lines
347 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 -XDrawDiagnostics T6330920.java
2007-12-01 00:00:00 +00:00
*/
public class T6330920 {
public void test(T6330920 x) {}
public void test(T6330920Missing x) {}
}