23 lines
391 B
Kotlin
Vendored
23 lines
391 B
Kotlin
Vendored
/*
|
|
* Copy of JVM-backend test
|
|
* Found at: compiler/testData/codegen/boxInline/trait/trait.2.kt
|
|
*/
|
|
|
|
package test
|
|
|
|
internal interface InlineTrait {
|
|
|
|
public fun finalInline(s: () -> String): String {
|
|
return s()
|
|
}
|
|
|
|
companion object {
|
|
public inline final fun finalInline(s: () -> String): String {
|
|
return s()
|
|
}
|
|
}
|
|
}
|
|
|
|
class Z: InlineTrait {
|
|
|
|
} |