aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/flat-union-branch-clash.out
blob: 04c239565e6fcd1678e27fe7be17cd35f4d2b3aa (plain)
1
2
3
4
5
6
7
8
9
[OrderedDict([('enum', 'TestEnum'), ('data', ['value1', 'value2'])]),
 OrderedDict([('struct', 'Base'), ('data', OrderedDict([('enum1', 'TestEnum'), ('name', 'str')]))]),
 OrderedDict([('struct', 'Branch1'), ('data', OrderedDict([('name', 'str')]))]),
 OrderedDict([('struct', 'Branch2'), ('data', OrderedDict([('value', 'int')]))]),
 OrderedDict([('union', 'TestUnion'), ('base', 'Base'), ('discriminator', 'enum1'), ('data', OrderedDict([('value1', 'Branch1'), ('value2', 'Branch2')]))])]
[{'enum_name': 'TestEnum', 'enum_values': ['value1', 'value2']}]
[OrderedDict([('struct', 'Base'), ('data', OrderedDict([('enum1', 'TestEnum'), ('name', 'str')]))]),
 OrderedDict([('struct', 'Branch1'), ('data', OrderedDict([('name', 'str')]))]),
 OrderedDict([('struct', 'Branch2'), ('data', OrderedDict([('value', 'int')]))])]