blob: a8e89837c1a3c49ca74f31d3101d3de1bb57d4b9 [file]
// RUN_PIPELINE_TILL: BACKEND
// 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 */