19 lines
404 B
Kotlin
Vendored
19 lines
404 B
Kotlin
Vendored
// IGNORE_BACKEND: JS_IR
|
|
// TODO: muted automatically, investigate should it be ran for JS or not
|
|
// IGNORE_BACKEND: JS, NATIVE
|
|
|
|
// WITH_REFLECT
|
|
|
|
import kotlin.test.*
|
|
import kotlin.reflect.KClass
|
|
|
|
fun box(): String {
|
|
val any = Array<Any>::class
|
|
val string = Array<String>::class
|
|
|
|
assertNotEquals<KClass<*>>(any, string)
|
|
assertNotEquals<Class<*>>(any.java, string.java)
|
|
|
|
return "OK"
|
|
}
|