aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/union-branch-if-invalid.json
blob: 46d4239af6f8a530fcb3b65dfb0ccaf2f4a6e6ec (plain)
1
2
3
4
5
6
# 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': [''] } } }