Minor: Fix some test cases
This commit is contained in:
committed by
Alexander Udalov
parent
6e9ee2a46c
commit
3659b517bb
Vendored
+8
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user