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

4 lines
161 B
JSON

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