libabigail/tests/data/test-bidiff/test-struct0-v1.cc.bi
Dodji Seketeli c5b81de47d Add support for bidiff regression testing
* tests/data/test-bidiff/test-enum0-v0.cc.bi: New input file.
	* tests/data/test-bidiff/test-enum0-v1.cc.bi: Likewise.
	* tests/data/test-bidiff/test-enum0-report.diff: Likewise.
	* tests/data/test-bidiff/test-enum1-v0.cc.bi: Likewise.
	* tests/data/test-bidiff/test-enum1-v1.cc.bi: Likewise.
	* tests/data/test-bidiff/test-enum1-report.txt: Likewise.
	* tests/data/test-bidiff/test-qual-type0-v0.cc.bi: Likewise.
	* tests/data/test-bidiff/test-qual-type0-v1.cc.bi: Likewise.
	* tests/data/test-bidiff/test-qual-type0-report.txt: Likewise.
	* tests/data/test-bidiff/test-struct0-v0.cc.bi: Likewise.
	* tests/data/test-bidiff/test-struct0-v1.cc.bi: Likewise.
	* tests/data/test-bidiff/test-struct0-report.txt: Likewise.
	* tests/data/test-bidiff/test-struct1-v0.cc.bi: Likewise.
	* tests/data/test-bidiff/test-struct1-v1.cc.bi: Likewise.
	* tests/data/test-bidiff/test-struct1-report.txt: Likewise.
	* tests/data/test-bidiff/test-var0-v0.cc.bi: Likewise.
	* tests/data/test-bidiff/test-var0-v1.cc.bi: Likewise.
	* tests/data/test-bidiff/test-var0-report.txt: Likewise.
	* tests/test-bidiff.cc: New file.
	* tests/Makefile.am: Build the new runtestbidiff regression test
	and add the above to the source distribution.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2013-11-29 14:32:30 +01:00

26 lines
1.8 KiB
Plaintext

<abi-instr version='1.0'>
<type-decl name='int' size-in-bits='32' alignment-in-bits='32' id='type-id-1'/>
<type-decl name='unsigned int' size-in-bits='32' alignment-in-bits='32' id='type-id-2'/>
<type-decl name='char' size-in-bits='8' alignment-in-bits='8' id='type-id-3'/>
<class-decl name='s0' visibility='default' is-declaration-only='yes' id='type-id-4'/>
<class-decl name='s0' size-in-bits='96' alignment-in-bits='32' visibility='default' filepath='../../abitests/test-struct0-v1.cc' line='1' column='8' def-of-decl-id='type-id-4' id='type-id-5'>
<member-type access='public'>
<typedef-decl name='s0' type-id='type-id-4' filepath='../../abitests/test-struct0-v1.cc' line='2' column='1' id='type-id-6'/>
</member-type>
<data-member access='public' layout-offset-in-bits='0'>
<var-decl name='m0' type-id='type-id-1' visibility='default' filepath='../../abitests/test-struct0-v1.cc' line='3' column='7'/>
</data-member>
<data-member access='public' layout-offset-in-bits='32'>
<var-decl name='m1' type-id='type-id-2' visibility='default' filepath='../../abitests/test-struct0-v1.cc' line='4' column='12'/>
</data-member>
<data-member access='public' layout-offset-in-bits='64'>
<var-decl name='m2' type-id='type-id-3' visibility='default' filepath='../../abitests/test-struct0-v1.cc' line='5' column='8'/>
</data-member>
</class-decl>
<reference-type-def kind='lvalue' type-id='type-id-5' size-in-bits='64' alignment-in-bits='64' id='type-id-7'/>
<function-decl name='foo' mangled-name='_Z3fooR2s0' filepath='../../abitests/test-struct0-v1.cc' line='10' column='1' visibility='default' binding='global' size-in-bits='8' alignment-in-bits='8'>
<parameter type-id='type-id-7'/>
<return type-id='type-id-1'/>
</function-decl>
</abi-instr>