aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/union-empty.json
blob: 584ed6098c9b3e1a73a87b4ec50553d7204595e1 (plain)
1
2
3
4
# union discriminator enum cannot be empty
{ 'enum': 'Empty', 'data': [ ] }
{ 'struct': 'Base', 'data': { 'type': 'Empty' } }
{ 'union': 'Union', 'base': 'Base', 'discriminator': 'type', 'data': { } }