qemu/tests/qapi-schema/bad-base.json

4 lines
161 B
JSON
Raw Normal View History

# we reject a base that is not a struct
{ 'union': 'Union', 'data': { 'a': 'int', 'b': 'str' } }
{ 'struct': 'MyType', 'base': 'Union', 'data': { 'c': 'int' } }