mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 00:21:29 +00:00
22 lines
299 B
Kotlin
Vendored
22 lines
299 B
Kotlin
Vendored
//ALLOW_AST_ACCESS
|
|
package test
|
|
|
|
class ClassVal() {
|
|
val property1 = { 1 }()
|
|
get
|
|
|
|
internal val property2 = { 1 }()
|
|
get
|
|
|
|
private val property3 = Object()
|
|
get
|
|
|
|
protected val property4: String = { "" }()
|
|
get
|
|
|
|
public val property5: Int = { 1 }()
|
|
get
|
|
}
|
|
|
|
|