Files
kotlin-fork/compiler/testData/codegen/bytecodeText/constants/inlineUnsignedIntConstant.kt
T
2021-05-25 19:23:29 +03:00

22 lines
331 B
Kotlin
Vendored

// !LANGUAGE: +InlineClasses
// FILE: uint.kt
package kotlin
inline class UInt(val value: Int)
// FILE: test.kt
//this import in required in FIR because default imports don't search in local sources atm
import kotlin.UInt
const val u = UInt(14)
fun foo() {
u
if (u.value != 14) {}
}
// @TestKt.class:
// 0 GETSTATIC