mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 09:20:53 +07:00
10 lines
366 B
Java
10 lines
366 B
Java
|
|
class Test {
|
|
public void test(String... <warning descr="Parameter 'a' is never used">a</warning>){}
|
|
|
|
public void test(int... <warning descr="Parameter 'a' is never used">a</warning>){}
|
|
|
|
public static void main(String[] args) {
|
|
new Test().test<error descr="Ambiguous method call: both 'Test.test(String...)' and 'Test.test(int...)' match">()</error>;
|
|
}
|
|
} |