Files
kotlin-fork/idea/testData/decompiler/stubBuilder/Modifiers/Modifiers.kt
T
Ilya Gorbunov 30bccc431b Migrate tests to release coroutines
where it's not essential to use experimental ones

#KT-36083
2020-01-29 09:12:41 +03:00

26 lines
565 B
Kotlin
Vendored

package test
import kotlin.coroutines.*
data class Modifiers(val x: Int) {
external fun extFun()
var extVar: Int = 1
external get
external set
tailrec fun sum(x: Long, sum: Long): Long {
if (x == 0.toLong()) return sum
return sum(x - 1, sum + x)
}
inline fun inlined(crossinline arg1: ()->Unit, noinline arg2: ()->Unit): Unit {}
override operator fun equals(other: Any?) = false
annotation class Ann
suspend fun suspend(x: Continuation<Int>) {}
fun builder(c: suspend Any.() -> Unit) {}
}