Files
kotlin-fork/compiler/testData/ir/closureAnnotator/topLevelDeclarations.kt
T
2016-10-18 09:09:02 +03:00

10 lines
173 B
Kotlin
Vendored

fun Int.test1(x: Int) = this + x
class Test2(val x: Int) {
fun test3() = x
fun Int.test4() = this + x
}
val test5 = object {
fun Int.test6(x: Int) = this + x
}