Files
kotlin/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/ByteOverridesObject.java
2014-03-19 23:24:27 +04:00

21 lines
322 B
Java
Vendored

package test;
class ExtendsB extends B {
void test() {
byte x = foo();
Byte y = foo();
Object z = foo();
}
}
class ExtendsC extends C {
void test() {
byte x = foo();
Byte y = foo();
Object z = foo();
}
@Override
public Byte foo() { return 42; }
}