summaryrefslogblamecommitdiffstats
path: root/tests/qapi-schema/flat-union-empty.json
blob: 83e1cc7b96be52b4e9fdcdc4ceaeff1e029315d2 (plain) (tree)
1
2
3
4
                                          


                                                                          
# flat union discriminator cannot be empty
{ 'enum': 'Empty', 'data': [ ] }
{ 'struct': 'Base', 'data': { 'type': 'Empty' } }
{ 'union': 'Union', 'base': 'Base', 'discriminator': 'type', 'data': { } }