mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 08:31:31 +00:00
20 lines
300 B
Kotlin
Vendored
20 lines
300 B
Kotlin
Vendored
interface Test {
|
|
companion object {
|
|
var prop: Int
|
|
get() {
|
|
return 10
|
|
}
|
|
set(i : Int) {
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
// TESTED_OBJECT_KIND: property
|
|
// TESTED_OBJECTS: Test, prop
|
|
// ABSENT: TRUE
|
|
|
|
// TESTED_OBJECT_KIND: property
|
|
// TESTED_OBJECTS: Test$Companion, prop
|
|
// ABSENT: TRUE
|