]> git.proxmox.com Git - mirror_qemu.git/blob - tests/qapi-schema/union-invalid-branch-key.json
target/riscv: Allow debugger to access seed CSR
[mirror_qemu.git] / tests / qapi-schema / union-invalid-branch-key.json
1 { 'enum': 'TestEnum',
2 'data': [ 'value1', 'value2' ] }
3
4 { 'struct': 'TestBase',
5 'data': { 'enum1': 'TestEnum' } }
6
7 { 'struct': 'TestTypeA',
8 'data': { 'string': 'str' } }
9
10 { 'struct': 'TestTypeB',
11 'data': { 'integer': 'int' } }
12
13 { 'union': 'TestUnion',
14 'base': 'TestBase',
15 'discriminator': 'enum1',
16 'data': { 'value_wrong': 'TestTypeA',
17 'value2': 'TestTypeB' } }