1b553ebfaf
Added tests from testData/codegen/box directory. There are blackbox tests in other directories and they are to be added.
8 lines
116 B
Kotlin
8 lines
116 B
Kotlin
fun foo() {}
|
|
|
|
fun bar(): Int? = foo() as? Int
|
|
|
|
fun box(): String {
|
|
return if (bar() == null) "OK" else "fail"
|
|
}
|