// !DIAGNOSTICS: -UNUSED_PARAMETER fun main(args: Array) { fun f() = run { private class C { private fun foo() { f().foo(); } } C() } }