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,18 @@
package foo
abstract class B {
abstract fun foo(param: String): String
}
class A : B() {
// must be here - before open fun foo(String)
private fun foo(param: Int) = "foo(Int)"
fun foo() = "foo()"
override fun foo(param: String) = "foo(String)"
}
fun box(): Boolean {
return A().foo("OK") == "foo(String)"
}
@@ -0,0 +1,6 @@
package foo
fun box(): Boolean {
var box = "foo"
return true
}