diff options
Diffstat (limited to 'qemu/tests/qapi-schema/alternate-base.json')
-rw-r--r-- | qemu/tests/qapi-schema/alternate-base.json | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qemu/tests/qapi-schema/alternate-base.json b/qemu/tests/qapi-schema/alternate-base.json new file mode 100644 index 000000000..529430ecf --- /dev/null +++ b/qemu/tests/qapi-schema/alternate-base.json @@ -0,0 +1,6 @@ +# we reject alternate with base type +{ 'struct': 'Base', + 'data': { 'string': 'str' } } +{ 'alternate': 'Alt', + 'base': 'Base', + 'data': { 'number': 'int' } } |