mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
43 lines
1.1 KiB
Kotlin
Vendored
43 lines
1.1 KiB
Kotlin
Vendored
// WITH_RUNTIME
|
|
|
|
suspend inline fun simple() {}
|
|
|
|
suspend inline fun <T> generic() {}
|
|
|
|
suspend inline fun <T, reified U> genericWithReified() {}
|
|
|
|
suspend inline fun Unit.simple() {}
|
|
|
|
suspend inline fun <T> T.generic() {}
|
|
|
|
suspend inline fun <T, reified U> T.genericWithReified() {}
|
|
|
|
@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
|
|
@kotlin.internal.InlineOnly
|
|
suspend inline fun shouldNotHaveSuffix() {}
|
|
|
|
suspend inline fun acceptsCrossinline(crossinline c: () -> Unit) {}
|
|
|
|
private suspend inline fun privateInline() {}
|
|
|
|
class Foo {
|
|
suspend inline fun simple() {}
|
|
|
|
suspend inline fun <T> generic() {}
|
|
|
|
suspend inline fun <T, reified U> genericWithReified() {}
|
|
|
|
suspend inline fun Unit.simple() {}
|
|
|
|
suspend inline fun <T> T.generic() {}
|
|
|
|
suspend inline fun <T, reified U> T.genericWithReified() {}
|
|
|
|
@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
|
|
@kotlin.internal.InlineOnly
|
|
suspend inline fun shouldNotHaveSuffix() {}
|
|
|
|
suspend inline fun acceptsCrossinline(crossinline c: () -> Unit) {}
|
|
|
|
private suspend inline fun privateInline() {}
|
|
} |