object Foo { operator fun invoke() {} } fun main() { Foo() }