Added test on callable reference to property

This commit is contained in:
Igor Chevdar
2017-05-23 16:36:04 +03:00
parent 560822fca0
commit 6116f24abc
2 changed files with 17 additions and 0 deletions
@@ -0,0 +1,12 @@
class Test {
var x: Int = 42
}
fun foo(): Test {
println(42)
return Test()
}
fun main(args: Array<String>) {
foo()::x
}