JS backend: testFiles -> testData

This commit is contained in:
Zalim Bashorov
2014-02-26 15:39:46 +04:00
parent bcd579acdd
commit 442215e829
490 changed files with 0 additions and 0 deletions
@@ -0,0 +1,22 @@
package foo
fun Int.component1(): Int {
return this + 10;
}
fun Int.component2(): String = "b"
fun box(): String {
var i = 0;
var s = "";
val range = 1..4
for ((a, b) in range) {
i = a
s = b
}
if (i != 14) return "i != 14, it: $i"
if (s != "b") return "s != 'b', it: $s"
return "OK"
}