Files
kotlin/compiler/testData/codegen/bytecodeText/checkcast/kt15411.kt
2018-12-21 16:20:45 +01:00

17 lines
238 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
// KT-15411 Unnecessary CHECKCAST bytecode when dealing with null
fun test1(): String? {
return null
}
fun test2(): BooleanArray? {
return null
}
fun test3(): Unit? {
return null
}
// 0 CHECKCAST