blob: e114b6e642111dc76f95a9b93e7389916b936720 [file]
interface A
fun test(a: A, block: A.() -> Int) {
a.block()
}
interface B
fun B.otherTest(block: B.() -> Int) {
block()
}
class C {
fun anotherTest(block: C.() -> Int) {
block()
}
}