Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
70b97c5abe682fb7598fc5070d94c39256a0baa4
/
.
/
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