Files
kotlin/compiler/testData/codegen/box/classLiteral/bareArray.kt
2019-11-19 11:00:09 +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"
}