Merge boxWithStdlib testData into box, delete BoxWithStdlib test
This commit is contained in:
committed by
Alexander Udalov
parent
22bfc9786a
commit
06a67e6602
@@ -0,0 +1,14 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
fun foo(): Int {
|
||||
return 1
|
||||
// val xyz has empty live range because everything after return will be removed as dead
|
||||
val xyz = 1
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
assertEquals(1, foo())
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user