aboutsummaryrefslogtreecommitdiff
path: root/test_cases/abigail_reader/typedef/void_typedef_c.xml
diff options
context:
space:
mode:
Diffstat (limited to 'test_cases/abigail_reader/typedef/void_typedef_c.xml')
-rw-r--r--test_cases/abigail_reader/typedef/void_typedef_c.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/test_cases/abigail_reader/typedef/void_typedef_c.xml b/test_cases/abigail_reader/typedef/void_typedef_c.xml
new file mode 100644
index 0000000..e3362e0
--- /dev/null
+++ b/test_cases/abigail_reader/typedef/void_typedef_c.xml
@@ -0,0 +1,13 @@
+<abi-corpus version='2.1'>
+ <elf-function-symbols>
+ <elf-symbol name='foo' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
+ </elf-function-symbols>
+ <abi-instr address-size='64' path='void_typedef.c' language='LANG_C11'>
+ <typedef-decl name='nil' type-id='48b5725f' id='9e8aa483'/>
+ <pointer-type-def type-id='9e8aa483' size-in-bits='64' id='3f209fb2'/>
+ <function-decl name='foo' mangled-name='foo' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='foo'>
+ <return type-id='3f209fb2'/>
+ </function-decl>
+ <type-decl name='void' id='48b5725f'/>
+ </abi-instr>
+</abi-corpus>