added test case for KT-2355
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package foo
|
||||
|
||||
class Foo(val name: String) {
|
||||
public fun toString(): String {
|
||||
return name + "S"
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
val a = Foo("abc")
|
||||
val b = Foo("def")
|
||||
val message = "a = $a, b = $b"
|
||||
return message
|
||||
}
|
||||
Reference in New Issue
Block a user