Merge remote-tracking branch 'remotes/kraxel/tags/pull-input-20150623-1' into staging
[qemu/ar7.git] / tests / qapi-schema / union-bad-branch.json
blob913aa38bc85209023d50bea27f2990acf6e18898
1 # we reject normal unions where branches would collide in C
2 { 'struct': 'One',
3   'data': { 'string': 'str' } }
4 { 'struct': 'Two',
5   'data': { 'number': 'int' } }
6 { 'union': 'MyUnion',
7   'data': { 'one': 'One',
8             'ONE': 'Two' } }