Delete generated test cases, move testData to boxWithStdlib

This commit is contained in:
Alexander Udalov
2013-02-07 21:14:53 +04:00
committed by Alexander Udalov
parent b311255d96
commit 714708eac7
84 changed files with 2 additions and 606 deletions
@@ -0,0 +1,14 @@
data class A(val a: Foo<String>) {}
class Foo<T>(val a: T) { }
fun box() : String {
val f1 = Foo("a")
val f2 = Foo("b")
val a = A(f1)
val b = a.copy(f2)
if (b.a.a == "b") {
return "OK"
}
return "fail"
}