Add tests extracted from regressions
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// WITH_RUNTIME
|
||||
// KJS_WITH_FULL_RUNTIME
|
||||
|
||||
class A {
|
||||
val s: Sequence<String> = sequence {
|
||||
val a = {}
|
||||
yield("OK")
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String = A().s.single()
|
||||
Reference in New Issue
Block a user