jdk-24/langtools/test/tools/javac/6758789/T6758789a.java
2009-08-27 11:08:27 -07:00

18 lines
342 B
Java

/*
* @test /nodynamiccopyright/
* @bug 6758789
* @summary 6758789: Some method resolution diagnostic should be improved
* @author Maurizio Cimadamore
*
* @compile/fail/ref=T6758789a.out -XDrawDiagnostics T6758789a.java
*/
class T6758789a {
void m1() {}
void m2(int i) {}
void test() {
m1(1);
m2();
}
}