JVM_IR KT-46864 handle "unused" LDC instructions properly

This commit is contained in:
Dmitry Petrov
2021-05-31 12:03:30 +03:00
committed by TeamCityServer
parent be097244d4
commit 9091ca7b51
11 changed files with 111 additions and 11 deletions
@@ -0,0 +1,5 @@
fun box(): String {
// NB it's important that the following expression is unused
(40.523 !== 62.562)
return "OK"
}
@@ -0,0 +1,5 @@
fun box(): String {
// NB it's important that the following expression is unused
(1234L !== 5678L)
return "OK"
}