aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/alternate-nested.json
blob: 8e2218649158a5f322ee1c482c1d3a946d114527 (plain)
1
2
3
4
5
# we reject a nested alternate branch
{ 'alternate': 'Alt1',
  'data': { 'name': 'str', 'value': 'int' } }
{ 'alternate': 'Alt2',
  'data': { 'nested': 'Alt1', 'b': 'bool' } }