xref: /openbmc/qemu/tests/qapi-schema/union-branch-if-invalid.json (revision 812b31d3f91507160c367440c17715b62d5e0869)
1# Cover branch with invalid 'if'
2{ 'enum': 'Branches', 'data': ['branch1'] }
3{ 'struct': 'Stru', 'data': { 'member': 'str' } }
4{ 'union': 'Uni',
5  'base': { 'tag': 'Branches' }, 'discriminator': 'tag',
6  'data': { 'branch1': { 'type': 'Stru', 'if': [''] } } }
7