jdk-24/test/langtools/tools/javac/6758789/T6758789a.java
2017-09-12 19:03:39 +02: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();
}
}