blob: 6cc7f1e29ea6e917f792c2fa971fc3fda08faed5 [file]
// IGNORE_BACKEND: JS, JS_IR, JS_IR_ES6
class A() {
override fun toString(): String {
return "A"
}
}
fun box() : String {
val s = "1" + "2" + 3 + 4L + 5.0 + 6F + '7' + A()
if (s != "12345.06.07A") return "fail $s"
return "OK"
}