Minor: Fix some test cases

This commit is contained in:
Steven Schäfer
2019-09-24 14:16:13 +02:00
committed by Alexander Udalov
parent 6e9ee2a46c
commit 3659b517bb
3 changed files with 29 additions and 19 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
class A
fun box() {
val x: A? = A()
@@ -9,12 +8,17 @@ fun box() {
else {
y = null
}
y!!
}
// 0 IFNULL
// 1 IFNONNULL
// 1 throwNpe
// 0 ATHROW
// 0 checkNotNull
// 1 throwNpe
// JVM_TEMPLATES:
// 1 IFNONNULL
// JVM_IR_TEMPLATES:
// 0 IFNONNULL