historical/m0-applesillicon.git/xnu-qemu-arm64-5.1.0/tests/qapi-schema/union-branch-if-invalid.json
2024-01-16 11:20:27 -06:00

6 lines
260 B
JSON

# Cover branch with invalid 'if'
{ 'enum': 'Branches', 'data': ['branch1'] }
{ 'struct': 'Stru', 'data': { 'member': 'str' } }
{ 'union': 'Uni',
'base': { 'tag': 'Branches' }, 'discriminator': 'tag',
'data': { 'branch1': { 'type': 'Stru', 'if': [''] } } }