[JS IR] Update tests

This commit is contained in:
Svyatoslav Kuzmich
2021-01-25 17:23:09 +03:00
parent ae738e9c59
commit c9cb7bc0fd
4 changed files with 4 additions and 0 deletions
@@ -3,6 +3,7 @@
// IGNORE_BACKEND: JVM
// IGNORE_LIGHT_ANALYSIS
// LANGUAGE: +SuspendFunctionsInFunInterfaces, +JvmIrEnabledByDefault
// SKIP_DCE_DRIVEN
import helpers.*
import kotlin.coroutines.*
@@ -89,6 +89,7 @@ object O0
object O {
val x = 10
@JsName("foo") // TODO: Should work without JsName
fun foo() = 20
}
@@ -45,5 +45,6 @@ final class FC : OC(true, "FC")
object O1 : OC(true, "O1")
object O2 : OC(true, "O2") {
@JsName("foo") // TODO: Should work without JsName
fun foo(): Int = 10
}
@@ -37,6 +37,7 @@ open class Class {
protected class protectedClass
public val publicVal = 10
@JsName("publicFun") // TODO: Should work without JsName
public fun publicFun() = 10
public class publicClass
}