package test fun foo() { class X { fun bar() = 111 } X().bar() }