]> Git Repo - qemu.git/blob - tests/qapi-schema/union-invalid-base.json
Merge remote-tracking branch 'remotes/kraxel/tags/pull-gtk-20150508-1' into staging
[qemu.git] / tests / qapi-schema / union-invalid-base.json
1 # a union base type must be a struct
2 { 'struct': 'TestTypeA',
3   'data': { 'string': 'str' } }
4
5 { 'struct': 'TestTypeB',
6   'data': { 'integer': 'int' } }
7
8 { 'union': 'TestUnion',
9   'base': 'int',
10   'discriminator': 'int',
11   'data': { 'value1': 'TestTypeA',
12             'value2': 'TestTypeB' } }
This page took 0.025265 seconds and 4 git commands to generate.