tests: Update external tests (1.1.2-dev-393)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class A {
|
||||
}
|
||||
|
||||
operator fun A.component1() = 1
|
||||
operator fun A.component2() = 2
|
||||
|
||||
fun box() : String {
|
||||
val (a, b) = A()
|
||||
return if (a == 1 && b == 2) "OK" else "fail"
|
||||
}
|
||||
Reference in New Issue
Block a user