blob: 6db7638ef9f659f5978b0ba0927b10a039930234 [file] [log] [blame]
object A {
private constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
}
object B {
private constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
operator fun A.component1(): Int {
return 1
}
operator fun A.component2(): Int {
return 2
}
}
fun B.test() {
// COMPOSITE {
val tmp0_container: A = A
val x: Int = (<this>, tmp0_container).component1()
val y: Int = (<this>, tmp0_container).component2()
// }
}