xref: /aosp_15_r20/external/stg/test_cases/abigail_reader/misc/enum_cc.xml (revision 9e3b08ae94a55201065475453d799e8b1378bea6)
1<abi-corpus version='2.1'>
2  <elf-function-symbols>
3    <elf-symbol name='_Z3fooRK6Colour' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
4  </elf-function-symbols>
5  <abi-instr address-size='64' path='enum.cc' language='LANG_C_plus_plus_14'>
6    <type-decl name='unnamed-enum-underlying-type-8' is-anonymous='yes' size-in-bits='8' alignment-in-bits='8' id='4aba8549'/>
7    <enum-decl name='Colour' id='d4c8a404'>
8      <underlying-type type-id='4aba8549'/>
9      <enumerator name='red' value='0'/>
10      <enumerator name='green' value='1'/>
11      <enumerator name='blue' value='2'/>
12    </enum-decl>
13    <qualified-type-def type-id='d4c8a404' const='yes' id='24fbf670'/>
14    <reference-type-def kind='lvalue' type-id='24fbf670' size-in-bits='64' id='8ea4c962'/>
15    <function-decl name='foo' mangled-name='_Z3fooRK6Colour' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_Z3fooRK6Colour'>
16      <parameter type-id='8ea4c962'/>
17      <return type-id='48b5725f'/>
18    </function-decl>
19    <type-decl name='void' id='48b5725f'/>
20  </abi-instr>
21</abi-corpus>
22