Files
kotlin-fork/compiler/testData/codegen/bytecodeText/constants/inlineUnsignedIntConstant.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

20 lines
250 B
Kotlin
Vendored

// !LANGUAGE: +InlineClasses
// IGNORE_BACKEND_FIR: JVM_IR
// FILE: uint.kt
package kotlin
inline class UInt(val value: Int)
// FILE: test.kt
const val u = UInt(14)
fun foo() {
u
if (u.value != 14) {}
}
// @TestKt.class:
// 0 GETSTATIC