Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
b32f408767cf86efaa65eb02699fe00bd61d99a6
/
.
/
compiler
/
testData
/
codegen
/
box
/
strings
/
stringBuilderAppend.kt
blob: 30c2eb17951b0fa7827eb930764ce7f5ee455a66 [
file
]
// IGNORE_BACKEND: JS
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"
}