blob: cf2e645ad082d8b11bcb9644312691792fdf8676 [file] [log] [blame]
//ALLOW_AST_ACCESS
package test
class Test {
companion object {
public val prop1 : Int = { 10 }()
public var prop2 : Int = { 11 }()
protected set
public val prop3: Int = { 12 }()
get() {
return field
}
var prop4 : Int = { 13 }()
fun incProp4() {
prop4++
}
public var prop5 : Int = { 14 }()
public var prop7 : Int = { 20 }()
set(i: Int) {
field++
}
public const val constProp8: Int = 80
}
}