package foo.bar fun test() { class A { inner class B } fun A.B.foo() {} }