Files
qemu-reims-vgpu/tests/qapi-schema/doc-interleaved-section.json
T
John Snow 628a715251 qapi: convert intro sections for unit tests
Signed-off-by: John Snow <jsnow@redhat.com>
Message-ID: <20260922205605.501602-3-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
[Missing update to tests/qapi-schema/doc-good.txt squashed in]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2026-09-28 08:34:04 +02:00

21 lines
273 B
JSON

# Arguments and sections must not be interleaved
##
# @TestStruct:
# body
#
# @integer: foo
# blah
#
# bao
#
# TODO: a section.
#
# @foobar: catch this
#
# Since: 2.3
#
##
{ 'struct': 'TestStruct',
'data': { 'integer': 'int', 'foobar': 'int' } }