Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
2f8b8915520217c656f00750d7faa239c6233ece
/
.
/
compiler
/
testData
/
codegen
/
boxWithStdlib
/
deadCodeElimination
/
emptyVariableRange.kt
blob: 2948d8b48a628739b15d8f0f02eddbac8ea25935 [
file
]
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"
}