added test case for KT-2355

This commit is contained in:
James Strachan
2012-07-03 13:57:21 +01:00
parent 25bf753369
commit b9ffce68e4
4 changed files with 76 additions and 0 deletions
@@ -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
}