3789983e89
Reviewed-by: darcy, ihse
18 lines
342 B
Java
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();
|
|
}
|
|
}
|