Split up Result API boxing tests

This commit is contained in:
Steven Schäfer
2019-09-05 11:12:40 +02:00
committed by Alexander Udalov
parent 2e53e36fd5
commit 49efa5fbc4
7 changed files with 94 additions and 16 deletions
@@ -0,0 +1,11 @@
// IGNORE_BACKEND: JVM_IR
// WITH_RUNTIME
// FILE: test.kt
fun test() {
val result = Result.success("yes!")
println("$result")
}
// @TestKt.class:
// 0 INVOKESTATIC kotlin/Result.box-impl
// 0 INVOKEVIRTUAL kotlin/Result.unbox-impl