[test] Move irJsText tests to irText directory

So that all irText tests could be found in one place
This commit is contained in:
Sergej Jaskiewicz
2023-03-09 19:00:54 +01:00
committed by Space Team
parent ebafdd3af0
commit 17a8fd2c0b
117 changed files with 3625 additions and 159 deletions
@@ -0,0 +1,39 @@
// FILE: nativeNativeKotlin.kt
package foo
external open class A {
fun foo(): String
}
external open class B : A {
fun bar(): String
}
class C : B()
fun box(): String {
val c = C()
return "OK"
}
// FILE: nativeNativeKotlin.js
function A() {
}
A.prototype.foo = function () {
return "A.foo"
};
function B() {
}
B.prototype = Object.create(A.prototype);
B.prototype.constructor = B;
B.prototype.bar = function () {
return "B.bar"
};