Added backend tests with closure local function in local class

This commit is contained in:
Stanislav Erokhin
2015-02-24 14:39:23 +03:00
parent 7a5e54c691
commit 2c8cf05f7a
3 changed files with 28 additions and 0 deletions
@@ -0,0 +1,8 @@
fun box(): String {
val o = "O"
fun ok() = o + "K"
class OK {
val ok = ok()
}
return OK().ok
}