blob: 7766da5fc03e3251d4d15651b4d1b95432e1e92e [file] [log] [blame]
class Foo() {
fun test(): String = "OK"
}
fun test(s: () -> String): String {
return s()
}
fun box(): String {
return test(Foo()::test)
}
// method: FunctionReferenceInvokeKt$box$1::invoke
// jvm signature: ()Ljava/lang/String;
// generic signature: null