Merge boxWithJava testData into box, delete BoxWithJava test

This commit is contained in:
Alexander Udalov
2016-03-07 16:54:45 +03:00
committed by Alexander Udalov
parent 16a0ddd2fb
commit f8dfaf4599
117 changed files with 723 additions and 815 deletions
+21
View File
@@ -0,0 +1,21 @@
class C {
companion object {
private val s: String
private var s2: String
init {
s = "O"
s2 = "O"
}
fun foo() = s
fun foo2() = s2
fun bar2() { s2 = "K" }
}
}
fun box(): String {
return C.foo() + {C.bar2(); C.foo2()}()
}