[JS IR BE] Update test data

This commit is contained in:
Roman Artemev
2018-05-16 17:59:49 +03:00
parent eeb16a38e8
commit 06a170b05d
26 changed files with 34 additions and 25 deletions
@@ -0,0 +1,14 @@
// IGNORE_BACKEND: JS
package foo
class A(val v: String) {
fun foo() = v
}
fun box(): String {
val aRef1 = A::foo
val aRef2 = A::foo
if (aRef1 !== aRef2) return "Fail != "
return aRef1(A("O")) + aRef2(A("K"))
}