tests: fixes aio-win32 about aio_remove_fd_handler, get it consistence with aio-posix.c
[qemu/ar7.git] / tests / qapi-schema / flat-union-optional-discriminator.json
blob2e7f766f60aa4a516383d4bc22bba5a13b5f43eb
1 # we require the discriminator to be non-optional
2 { 'enum': 'Enum', 'data': [ 'one', 'two' ] }
3 { 'struct': 'Base',
4   'data': { '*switch': 'Enum' } }
5 { 'struct': 'Branch', 'data': { 'name': 'str' } }
6 { 'union': 'MyUnion',
7   'base': 'Base',
8   'discriminator': 'switch',
9   'data': { 'one': 'Branch',
10             'two': 'Branch' } }