blob: 0477aeefdd3e1deea2f9a1bc14e0d88e163b3869 [file] [log] [blame]
class W {
Object f() {
return 0;
}
}
class WW extends W {
String f() {
return null;
}
}
interface IQ {
void f();
}
<error descr="'f()' in 'WW' clashes with 'f()' in 'IQ'; attempting to use incompatible return type">class WWW extends WW implements IQ</error> {
}