virt-acpi-build: add always-on property for timer
[qemu/ar7.git] / tests / qapi-schema / flat-union-bad-base.json
blobe2e622bb6e00cd0384a1ec54fdbdbd51d6871030
1 # we require the base to be an existing struct
2 # TODO: should we allow an anonymous inline base type?
3 { 'enum': 'TestEnum',
4   'data': [ 'value1', 'value2' ] }
5 { 'struct': 'TestTypeA',
6   'data': { 'string': 'str' } }
7 { 'struct': 'TestTypeB',
8   'data': { 'integer': 'int' } }
9 { 'union': 'TestUnion',
10   'base': { 'enum1': 'TestEnum', 'kind': 'str' },
11   'discriminator': 'enum1',
12   'data': { 'value1': 'TestTypeA',
13             'value2': 'TestTypeB' } }