tests: Update external tests (1.1.2-dev-393)
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
class Test {
|
||||
var storage = "Fail"
|
||||
|
||||
var Int.foo: String
|
||||
get() = storage
|
||||
set(value) {
|
||||
storage = value
|
||||
}
|
||||
|
||||
fun test(): String {
|
||||
val i = 1
|
||||
i.foo = "OK"
|
||||
return i.foo
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return Test().test()
|
||||
}
|
||||
Reference in New Issue
Block a user