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