mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
16 lines
218 B
Kotlin
Vendored
16 lines
218 B
Kotlin
Vendored
// MODULE: lib
|
|
// FILE: lib.kt
|
|
class A {
|
|
|
|
@PublishedApi
|
|
internal fun published() = "OK"
|
|
|
|
inline fun test() = published()
|
|
|
|
}
|
|
|
|
// MODULE: main(lib)
|
|
// FILE: main.kt
|
|
fun box(): String {
|
|
return A().test()
|
|
} |