summaryrefslogblamecommitdiffstats
path: root/tests/qapi-schema/alternate-nested.json
blob: f2b9632f751e5beb8f306e8973e502a033eb323d (plain) (tree)
1
2
3
4
5

                                     
                                              
                      
                                             
# we reject a nested alternate branch
{ 'alternate': 'Alt1',
  'data': { 'name': 'bool', 'value': 'int' } }
{ 'alternate': 'Alt2',
  'data': { 'nested': 'Alt1', 'b': 'bool' } }