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,27 @@
package foo
import js.*
native
class A(b: Int) {
fun g(): Int = js.noImpl
fun m(): Int = js.noImpl
}
fun box(): Boolean {
if (A(2).g() != 4) {
return false;
}
if (A(3).m() != 2) {
return false;
}
val a = A(100)
if (a.g() != 200) {
return false;
}
if (a.m() != 99) {
return false;
}
return true;
}