1b553ebfaf
Added tests from testData/codegen/box directory. There are blackbox tests in other directories and they are to be added.
13 lines
228 B
Kotlin
13 lines
228 B
Kotlin
// WITH_RUNTIME
|
|
|
|
fun foo(): List<String>? = listOf("abcde")
|
|
|
|
fun box(): String {
|
|
for (i in 1..3) {
|
|
for (value in foo() ?: continue) {
|
|
if (value != "abcde") return "Fail"
|
|
}
|
|
}
|
|
return "OK"
|
|
}
|