Files
kotlin-fork/backend.native/tests/codegen/bridges/linkTest_lib.kt
T
Igor Chevdar bf65a78a93 Made bridge methods public.
Added test on usage of a bridge method from different module.
Bridge methods must be public in order use them from other modules.
2017-03-06 14:35:39 +03:00

9 lines
105 B
Kotlin

package a
interface A<T> {
fun foo(): T
}
open class C: A<Int> {
override fun foo(): Int = 42
}