mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
Test cases are chosen so that addition/removal of explicit type will not interfere with the original purpose of the test
18 lines
271 B
Kotlin
18 lines
271 B
Kotlin
package test
|
|
|
|
class ClassVal() {
|
|
var property1: Int = 1
|
|
get
|
|
|
|
internal var property2: Int = 1
|
|
get
|
|
|
|
private var property3: Object = Object()
|
|
get
|
|
|
|
protected var property4: String = ""
|
|
get
|
|
|
|
public var property5: Int = 1
|
|
get
|
|
} |