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,7 @@
package foo
open class A() {
fun f() = 3
}
fun box() = (A().f() + bar.A().f()) == 9
@@ -0,0 +1,5 @@
package bar
open class A() {
fun f() = 6
}
@@ -0,0 +1,9 @@
package foo
open class A() {
open fun f() = 3;
}
open class C() : B() {
override fun f() = 5
}
@@ -0,0 +1,7 @@
package foo
open class B() : A() {
override fun f() = 4
}
fun box() = (A().f() == 3) && (B().f() == 4) && (C().f() == 5)
@@ -0,0 +1,3 @@
package foo
fun f() = 3;
@@ -0,0 +1,3 @@
package foo
fun box() = (f() == 3)