Files
kotlin-fork/compiler/testData/codegen/bytecodeListing/sam/reusedSamWrapperClasses.kt
T
Dmitry Petrov 3438d19c22 JVM_IR indy: use 'CLASS' mode in SAM bytecode listing tests
KT-44278 KT-26060 KT-42621
2021-02-12 16:52:31 +03:00

19 lines
299 B
Kotlin
Vendored

// KOTLIN_CONFIGURATION_FLAGS: SAM_CONVERSIONS=CLASS
// WITH_RUNTIME
class A {
fun test1() {
val f = { }
val t1 = Runnable(f)
val t2 = Runnable(f)
}
}
class B {
fun test2() {
val f = { }
val t1 = Runnable(f)
val t2 = Runnable(f)
}
}