summaryrefslogtreecommitdiffstats
path: root/tests/qapi-schema/doc-interleaved-section.json
blob: adb29e98daa79379b8d161b24863e38cb0021ad2 (plain) (blame)
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
#
# Note: a section.
#
# @foobar: catch this
#
# Since: 2.3
#
##
{ 'struct': 'TestStruct',
  'data': { 'integer': 'int', 'foobar': 'int' } }