aboutsummaryrefslogtreecommitdiff
path: root/test_cases/abigail_reader/enum/anonymous_c.xml
blob: 61fc625ef2994394158ce3692981d7772eb092d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<abi-corpus version='2.1'>
  <elf-variable-symbols>
    <elf-symbol name='foo' size='4' type='object-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
  </elf-variable-symbols>
  <abi-instr address-size='64' path='anonymous.c' language='LANG_C11'>
    <type-decl name='unnamed-enum-underlying-type-32' is-anonymous='yes' size-in-bits='32' alignment-in-bits='32' id='9cac1fee'/>
    <enum-decl name='__anonymous_enum__' is-anonymous='yes' id='08f5ca17'>
      <underlying-type type-id='9cac1fee'/>
      <enumerator name='FOO_ZERO' value='0'/>
      <enumerator name='FOO_ONE' value='1'/>
      <enumerator name='FOO_TWO' value='2'/>
      <enumerator name='FOO_THREE' value='3'/>
    </enum-decl>
    <var-decl name='foo' type-id='08f5ca17' mangled-name='foo' visibility='default' elf-symbol-id='foo'/>
  </abi-instr>
</abi-corpus>