]> git.proxmox.com Git - mirror_qemu.git/blame - tests/qapi-schema/bad-base.json
Merge tag 'pull-maintainer-may24-160524-2' of https://gitlab.com/stsquad/qemu into...
[mirror_qemu.git] / tests / qapi-schema / bad-base.json
CommitLineData
dd883c6f 1# we reject a base that is not a struct
76432d98
MA
2{ 'enum': 'Enum', 'data': [ 'a', 'b' ] }
3{ 'struct': 'Int', 'data': { 'data': 'int' } }
4{ 'struct': 'Str', 'data': { 'data': 'str' } }
5{ 'union': 'Union',
6 'base': { 'type': 'Enum' },
7 'discriminator': 'type',
8 'data': { 'a': 'Int', 'b': 'Str' } }
895a2a80 9{ 'struct': 'MyType', 'base': 'Union', 'data': { 'c': 'int' } }