mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
13 lines
338 B
Kotlin
Vendored
13 lines
338 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
|
|
@file:[JvmName("Foo") JvmMultifileClass]
|
|
package test
|
|
|
|
fun foo() {
|
|
inlineOnly<String>()
|
|
}
|
|
|
|
// No method should be generated in multifile facade for 'inlineOnly'
|
|
// Because 'inlineOnly' is private in file part (because it's inline-only) and can't be delegated from facade
|
|
public inline fun <reified T> inlineOnly() {}
|