mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 08:31:28 +00:00
19 lines
405 B
Kotlin
Vendored
19 lines
405 B
Kotlin
Vendored
// TODO: muted automatically, investigate should it be ran for JS or not
|
|
// IGNORE_BACKEND: JS
|
|
|
|
// WITH_REFLECT
|
|
|
|
import kotlin.test.assertEquals
|
|
import kotlin.test.assertFalse
|
|
|
|
fun box(): String {
|
|
val x = Int::class.javaPrimitiveType!!.kotlin
|
|
val y = Int::class.javaObjectType.kotlin
|
|
|
|
assertEquals(x, y)
|
|
assertEquals(x.hashCode(), y.hashCode())
|
|
assertFalse(x === y)
|
|
|
|
return "OK"
|
|
}
|