tests: Update external tests (1.1.2-dev-393)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
class A {
|
||||
private val sb: StringBuilder = StringBuilder()
|
||||
|
||||
operator fun String.unaryPlus() {
|
||||
sb.append(this)
|
||||
}
|
||||
|
||||
fun foo(): String {
|
||||
+"OK"
|
||||
return sb.toString()!!
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String = A().foo()
|
||||
Reference in New Issue
Block a user