diff options
Diffstat (limited to 'qemu/tests/qapi-schema/alternate-array.json')
-rw-r--r-- | qemu/tests/qapi-schema/alternate-array.json | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qemu/tests/qapi-schema/alternate-array.json b/qemu/tests/qapi-schema/alternate-array.json new file mode 100644 index 000000000..f241aac12 --- /dev/null +++ b/qemu/tests/qapi-schema/alternate-array.json @@ -0,0 +1,7 @@ +# we do not allow array branches in alternates +# TODO: should we support this? +{ 'struct': 'One', + 'data': { 'name': 'str' } } +{ 'alternate': 'Alt', + 'data': { 'one': 'One', + 'two': [ 'int' ] } } |