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