xref: /openbmc/qemu/tests/qapi-schema/bad-base.json (revision 2e1d70b9e03ca3f1c6185b54010bc9e47e0a0d0c)
1# we reject a base that is not a struct
2{ 'union': 'Union', 'data': { 'a': 'int', 'b': 'str' } }
3{ 'struct': 'MyType', 'base': 'Union', 'data': { 'c': 'int' } }
4