Files
kotlin-fork/compiler/testData/codegen/box/reflection/methodsFromAny/functionFromStdlibSingleFileFacade.kt
T
2021-11-15 19:53:49 +03:00

16 lines
367 B
Kotlin
Vendored

// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS_IR_ES6
// KT-12630 KotlinReflectionInternalError on referencing some functions from stdlib
// IGNORE_BACKEND: JS, NATIVE, WASM
// WITH_REFLECT
import kotlin.test.*
fun box(): String {
val hashCode = Any?::hashCode
assertEquals("fun kotlin.Any?.hashCode(): kotlin.Int", hashCode.toString())
return "OK"
}