jdk-24/test/langtools/tools/javac/generics/6182950/T6182950a.java
2017-09-12 19:03:39 +02:00

14 lines
342 B
Java

/*
* @test /nodynamiccopyright/
* @bug 6182950
* @summary methods clash algorithm should not depend on return type
* @author mcimadamore
* @compile/fail/ref=T6182950a.out -XDrawDiagnostics T6182950a.java
*/
import java.util.List;
class T6182950a {
int m(List<String> l) {return 0;}
double m(List<Integer> l) {return 0;}
}