Files
kotlin-fork/compiler/testData/klibABI/removeCallable/lib1/l1.kt.1
T
2023-03-23 10:24:27 +00:00

24 lines
838 B
Groff
Vendored

fun function(): String = "OK"
//fun removedFunction(): String = "FAIL: removedFunction"
val property: String get() = "OK"
//val removedProperty: String get() = "FAIL: removedProperty"
class A {
fun function(): String = "OK"
//fun removedFunction(): String = "FAIL: A.removedFunction"
val property1: String get() = "OK"
//val removedProperty1: String get() = "FAIL: removedProperty1"
val property2: String = "OK"
//val removedProperty2: String = "FAIL: removedProperty2"
}
open class C {
//open fun removedOpenFunction(): String = "FAIL: C.removedOpenFunction"
//open val removedOpenProperty: String get() = "FAIL: C.removedOpenProperty"
}
interface I {
//fun removedOpenFunction(): String = "FAIL: I.removedOpenFunction"
//val removedOpenProperty: String get() = "FAIL: I.removedOpenProperty"
}