// WITH_RUNTIME class A { fun foo() {} fun bar(): Int = 1 } fun test() { val a = A().apply { foo() bar() + 1 foo() } }