compiler: write INIT and RTTI info also for defs of nested records and classes + test (issue #20909) git-svn-id: trunk@20162 -