]> git.ipfire.org Git - thirdparty/qemu.git/blob - tests/qapi-schema/union-branch-if-invalid.json
859b63b61069293eab545738f6a7c012c3e8eca9
[thirdparty/qemu.git] / tests / qapi-schema / union-branch-if-invalid.json
1 # Cover branch with invalid 'if'
2 # FIXME not rejected, would generate '#if \n'
3 { 'enum': 'Branches', 'data': ['branch1'] }
4 { 'struct': 'Stru', 'data': { 'member': 'str' } }
5 { 'union': 'Uni',
6 'base': { 'tag': 'Branches' }, 'discriminator': 'tag',
7 'data': { 'branch1': { 'type': 'Stru', 'if': [''] } } }