Files
kotlin-fork/compiler/testData/codegen/box/classLiteral/bareArray.kt
T
2020-06-04 16:34:39 +03:00

10 lines
186 B
Kotlin
Vendored

// !LANGUAGE: +BareArrayClassLiteral
// IGNORE_BACKEND_FIR: JVM_IR
fun box(): String {
val x = Array(1) { Any() }
if (x::class != Array::class) return "Fail"
return "OK"
}