mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
18 lines
391 B
Kotlin
Vendored
18 lines
391 B
Kotlin
Vendored
// IGNORE_BACKEND: JVM_IR
|
|
open class Test {
|
|
var publicProperty: String = ""
|
|
private set
|
|
|
|
protected var protectedProperty: String = ""
|
|
private set
|
|
|
|
internal var internalProperty: String = ""
|
|
private set
|
|
|
|
fun update(i: Int) {
|
|
publicProperty = i.toString()
|
|
protectedProperty = i.toString()
|
|
internalProperty = i.toString()
|
|
}
|
|
}
|