Rename directory for back-end tests

This commit is contained in:
Andrey Breslav
2013-11-26 20:34:10 +04:00
parent fe00b03279
commit c70a54306f
25 changed files with 54 additions and 54 deletions
@@ -0,0 +1,25 @@
class B {
inner class C {
tailRecursive fun h(counter : Int, x : Any) {
if (counter > 0) {
this@C.h(counter - 1, "tail")
}
}
tailRecursive fun h2(x : Any) {
this@B.h2("no recursion") // keep vigilance
}
}
fun makeC() : C = C()
fun h2(x : Any) {
}
}
fun box() : String {
B().makeC().h(1000000, "test")
B().makeC().h2(0)
return "OK"
}