Generate EXPECTED_REACHABLE_NODES directive on JS box tests

This commit is contained in:
Alexey Andreev
2017-04-25 19:05:55 +03:00
parent ab9b639652
commit e2c2fcf1ff
1153 changed files with 1154 additions and 4 deletions
@@ -1,3 +1,4 @@
// EXPECTED_REACHABLE_NODES: 492
fun box(): String {
val cl = 39
return if (sum(200, { val m = { val r = { cl }; r() }; m() }) == 239) "OK" else "FAIL"