aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/alternate-conflict-dict.json
blob: 9f9d97fa2ed0fc0331acbcabb2326bc081096dc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# we reject alternates with multiple object branches

##
# @One:
##
{ 'struct': 'One',
  'data': { 'name': 'str' } }
##
# @Two:
##
{ 'struct': 'Two',
  'data': { 'value': 'int' } }
##
# @Alt:
##
{ 'alternate': 'Alt',
  'data': { 'one': 'One',
            'two': 'Two' } }