Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6f1b95d296c5592d3a3e71cc638994fa2ba4e4f7
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
sam
/
samWrapperOfReference.kt
blob: 2e2bae05a1462e79c057c3a4f7b8074df910a933 [
file
]
// SAM_CONVERSIONS: CLASS
// FILE: JFoo.java
public
class
JFoo
{
public
static
void
foo
(
Runnable
f
)
{
f
.
run
();
}
}
// FILE: Test.kt
class
A
{
fun f
()
{}
}
fun test
()
{
JFoo
.
foo
(
A
()::
f
)
}
// 1 NEW A
// 2 NEW
// 0 INVOKEINTERFACE