Files
kotlin/compiler/testData/codegen/box/inlineClasses/computablePropertyInsideInlineClass.kt
Steven Schäfer 0fe8fec1d1 Mute FIR tests
2020-02-28 14:48:17 +01:00

11 lines
272 B
Kotlin
Vendored

// !LANGUAGE: +InlineClasses
// IGNORE_BACKEND_FIR: JVM_IR
inline class UIntArray(private val intArray: IntArray) {
val size get() = intArray.size
}
fun box(): String {
val array = UIntArray(intArrayOf(1, 2, 3))
return if (array.size != 3) "fail" else "OK"
}