diff options
Diffstat (limited to 'tests/qapi-schema/bad-if-empty-list.json')
-rw-r--r-- | tests/qapi-schema/bad-if-empty-list.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/qapi-schema/bad-if-empty-list.json b/tests/qapi-schema/bad-if-empty-list.json new file mode 100644 index 000000000..b62b5671d --- /dev/null +++ b/tests/qapi-schema/bad-if-empty-list.json @@ -0,0 +1,3 @@ +# check empty 'if' list +{ 'struct': 'TestIfStruct', 'data': { 'foo': 'int' }, + 'if': { 'all': [] } } |