aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/args-member-array.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/args-member-array.json')
-rw-r--r--tests/qapi-schema/args-member-array.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/qapi-schema/args-member-array.json b/tests/qapi-schema/args-member-array.json
new file mode 100644
index 0000000000..e6f7f5da13
--- /dev/null
+++ b/tests/qapi-schema/args-member-array.json
@@ -0,0 +1,4 @@
+# valid array members
+{ 'enum': 'abc', 'data': [ 'a', 'b', 'c' ] }
+{ 'struct': 'def', 'data': { 'array': [ 'abc' ] } }
+{ 'command': 'okay', 'data': { 'member1': [ 'int' ], 'member2': [ 'def' ] } }