// SIBLING: fun main(args: Array) { val a = 1 val t = object: T { override fun foo(n: Int) = n + a } } interface T { fun foo(n: Int): Int }