mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
Added new string tests
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
class A() {
|
||||
|
||||
override fun toString(): String {
|
||||
return "A"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
fun box() : String {
|
||||
|
||||
val s = "1" + "2" + 3 + 4L + 5.0 + 6F + '7' + A()
|
||||
|
||||
return "OK"
|
||||
}
|
||||
|
||||
// 1 NEW java/lang/StringBuilder
|
||||
Reference in New Issue
Block a user