Minor: drop kt21014.kt (SIGSEGV on HotSpot 6.0_45-b06)

This commit is contained in:
Dmitry Petrov
2020-12-22 19:56:54 +03:00
parent f647233189
commit 3ae8521f12
8 changed files with 0 additions and 52 deletions
@@ -1,17 +0,0 @@
// WITH_RUNTIME
// IGNORE_BACKEND: JVM
// IGNORE_LIGHT_ANALYSIS
// DONT_TARGET_EXACT_BACKEND: WASM
// WASM_MUTE_REASON: PROPERTY_REFERENCES
fun box(): String {
val ints = intArrayOf(1, 2, 3)
val test1 = IntArray::size.get(ints)
if (test1 != 3) throw Exception("IntArray::size.get(ints) != 3: $test1")
val test2 = with(ints, IntArray::size)
if (test2 != 3) throw Exception("with(ints, IntArray::size) != 3: $test2")
return "OK"
}