mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 08:31:29 +00:00
17 lines
297 B
Kotlin
Vendored
17 lines
297 B
Kotlin
Vendored
// !LANGUAGE: +BareArrayClassLiteral
|
|
// IGNORE_BACKEND_FIR: JVM_IR
|
|
// TARGET_BACKEND: JVM
|
|
// WITH_REFLECT
|
|
|
|
import kotlin.test.*
|
|
import kotlin.reflect.KClass
|
|
|
|
fun box(): String {
|
|
val any = Array<Any>::class
|
|
val bare = Array::class
|
|
|
|
assertEquals<KClass<*>>(any, bare)
|
|
|
|
return "OK"
|
|
}
|