238cc7c257
143 out of 767 tests (18.6%) are currently failing.
20 lines
250 B
Kotlin
Vendored
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 |