Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
codegen
/
box
/
strings
/
stringBuilderAppend.kt
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"
}