blob: 5ce31a289c119ba6b5f41ec3b088195b4280d581 [file]
// RUN_PIPELINE_TILL: BACKEND
// FIR_IDENTICAL
// WITH_STDLIB
fun <T> T.test(block: (foo: T) -> Unit) {}
fun <K> K.rest(block: (bar: K) -> Unit) {}
fun main() {
10.test { a ->
a.rest { b ->
}
}
}
/* GENERATED_FIR_TAGS: funWithExtensionReceiver, functionDeclaration, functionalType, integerLiteral, lambdaLiteral,
nullableType, typeParameter */