mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 08:31:35 +00:00
10 lines
186 B
Kotlin
Vendored
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"
|
|
}
|