Projet_SETI_RISC-V/riscv-gnu-toolchain/qemu/tests/qapi-schema/union-branch-invalid-dict.json

9 lines
270 B
JSON
Raw Normal View History

2023-03-06 14:48:14 +01:00
# Long form of member must have a value member 'type'
{ 'enum': 'TestEnum',
'data': [ 'integer', 's8' ] }
{ 'union': 'UnionInvalidBranch',
'base': { 'type': 'TestEnum' },
'discriminator': 'type',
'data': { 'integer': { 'if': 'foo'},
's8': 'int8' } }