Files
kotlin-fork/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassValWithGet.kt
T

23 lines
323 B
Kotlin
Vendored

// TARGET_BACKEND: JVM
// 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
}