[JS IR] Make tests that use directives pass with IR BE
This commit is contained in:
@@ -20,8 +20,8 @@ inline fun ok() = A("O").s + A('K').s
|
||||
|
||||
|
||||
// TODO add directives for primary constructor invocations
|
||||
// CHECK_CALLED_IN_SCOPE: function=A_init_0 scope=box
|
||||
// CHECK_NOT_CALLED_IN_SCOPE: function=A_init scope=box
|
||||
// CHECK_CALLED_IN_SCOPE: function=A_init_0 scope=box TARGET_BACKENDS=JS
|
||||
// CHECK_NOT_CALLED_IN_SCOPE: function=A_init scope=box TARGET_BACKENDS=JS
|
||||
fun box(): String {
|
||||
if (A("O").s + A('K').s != "OK") return "fail"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user