// FIR_IDENTICAL // !CHECK_TYPE // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER -UNUSED_VARIABLE class A fun A.foo() = this fun test(a: A) { fun A.foo() = 3 a.foo() checkType { _() } with(a) { foo() checkType { _() } } }