]> git.proxmox.com Git - mirror_qemu.git/blame - tests/qapi-schema/union-array-branch.json
include/hw/core: Remove i386 conditional on fake_user_interrupt
[mirror_qemu.git] / tests / qapi-schema / union-array-branch.json
CommitLineData
4e99f4b1 1# we require union branches to be a struct
75276710
MA
2{ 'enum': 'TestEnum',
3 'data': [ 'value1', 'value2' ] }
4{ 'struct': 'Base',
5 'data': { 'enum1': 'TestEnum' } }
6{ 'struct': 'TestTypeB',
7 'data': { 'integer': 'int' } }
8{ 'union': 'TestUnion',
9 'base': 'Base',
10 'discriminator': 'enum1',
11 'data': { 'value1': ['TestTypeB'],
12 'value2': 'TestTypeB' } }