Files
kotlin-fork/compiler/testData/codegen/box/inlineClasses/multifileClass.kt
T
Georgy Bronnikov 4607eca987 JVM_IR: bug fix in classFileContainsMethod
The old test sequence failed for toplevel functions because of file
class wrappers, so that the second branch was never invoked.
2020-12-01 13:15:51 +03:00

11 lines
263 B
Kotlin
Vendored

// WITH_RUNTIME
// IGNORE_BACKEND: JVM
fun box(): String {
val uia = uintArrayOf()
val uia2 = uintArrayOf()
// UIntArray is a multifile class, so we need to know where to search for extension method copyInto.
uia.copyInto(uia2)
return "OK"
}