Files
kotlin-fork/compiler/testData/codegen/bytecodeText/inlineProtectedJavaConstantFromOtherPackage.kt
T
Mark Punzalan 238cc7c257 [FIR] Enable BytecodeText tests for FIR.
143 out of 767 tests (18.6%) are currently failing.
2020-09-29 10:21:21 +03:00

23 lines
298 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
// FILE: first/Foo.java
package first;
public class Foo {
protected static final int FOO = 42;
}
// FILE: bar.kt
package second
import first.Foo
class Bar : Foo() {
fun bar() = FOO
}
// @second/BarKt.class
// 0 INVOKESTATIC
// 0 GETSTATIC
// 1 BIPUSH 42