aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/doc-interleaved-section.json
blob: eec01ed5650a554f8b577ff6b093b392902b143e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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' } }