blob: 8d71a82cc6b4a0448379ce0da6441023406c87d2 [file] [log] [blame]
class Test {
interface I { Object in<EOLError descr="';' expected"></EOLError>
<error descr="Invalid method declaration; return type required">voke</error>(); }
interface IStr { String foo(); }
public static void call(IStr str) {}
public static void call(I i) { }
public static void main(String[] args) {
call<error descr="Ambiguous method call: both 'Test.call(IStr)' and 'Test.call(I)' match">(()-> null)</error>;
}
}