summaryrefslogtreecommitdiff
path: root/tests/qapi-schema/flat-union-empty.json
blob: 67dd2978eb173ac639abb7c95306ebb1282a203d (plain)
1
2
3
4
# FIXME - flat unions should not be empty
{ 'enum': 'Empty', 'data': [ ] }
{ 'struct': 'Base', 'data': { 'type': 'Empty' } }
{ 'union': 'Union', 'base': 'Base', 'discriminator': 'type', 'data': { } }