Projet_SETI_RISC-V/riscv-gnu-toolchain/qemu/tests/qapi-schema/union-unknown.json
2023-03-06 14:48:14 +01:00

6 lines
208 B
JSON

# we reject a union with unknown type in branch
{ 'enum': 'Enum', 'data': [ 'unknown' ] }
{ 'union': 'Union',
'base': { 'type': 'Enum' },
'discriminator': 'type',
'data': { 'unknown': 'MissingType' } }