Files
kotlin-fork/compiler/testData/codegen/bytecodeText/inline/deleteClassOnTransfromation.kt
T
Mark Punzalan 238cc7c257 [FIR] Enable BytecodeText tests for FIR.
143 out of 767 tests (18.6%) are currently failing.
2020-09-29 10:21:21 +03:00

21 lines
318 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: JVM_IR
fun test() {
{
{}()
}()
}
inline fun ifun(s: () -> Unit) {
s()
}
fun test2() {
var z = 1;
ifun {
{ z = 2 }()
}
}
// 1 class DeleteClassOnTransfromationKt\$test\$1\$1
// 0 class DeleteClassOnTransfromationKt\$test2\$1\$1