Move some tests from boxWithStdlib/ to box/
Move those tests which do not require neither stdlib nor reflect
This commit is contained in:
committed by
Alexander Udalov
parent
54a615fcd3
commit
20e36438e2
@@ -0,0 +1,8 @@
|
||||
data class A(var x: Int, val z: Int)
|
||||
|
||||
fun box(): String {
|
||||
val a = A(1, 3)
|
||||
if (a.component1() != 1) return "Fail: ${a.component1()}"
|
||||
if (a.component2() != 3) return "Fail: ${a.component2()}"
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user