<unit name="ok_invisible_nested_enums">
  <structure name="TOuterObject" name_with_generic="TOuterObject" type="class">
    <ancestor name="TObject" declaration="TObject" />
    <type name="TPublicInnerEnum" declaration="TPublicInnerEnum = (...);" visibility="public">
      <constant name="puePublic" declaration="puePublic" visibility="published">
      </constant>
      <constant name="pueSuperPublic" declaration="pueSuperPublic" visibility="published">
      </constant>
    </type>
    <structure name="TPublicInnerObject" visibility="public" name_with_generic="TPublicInnerObject" type="class">
      <ancestor name="TObject" declaration="TObject" />
    </structure>
  </structure>
</unit>
