blob: 502f0880e2eeb7cec58fac8be9dcf69d14600898 [file]
// RUN_PIPELINE_TILL: BACKEND
// FIR_IDENTICAL
// LANGUAGE: +FunctionalInterfaceConversion +SamConversionPerArgument +SamConversionForKotlinFunctions
// DIAGNOSTICS: -UNUSED_PARAMETER
fun interface Foo {
fun invoke()
}
fun foo(f: Foo) {}
fun test() {
foo {}
}
/* GENERATED_FIR_TAGS: funInterface, functionDeclaration, interfaceDeclaration, lambdaLiteral, samConversion */