diff options
Diffstat (limited to 'qemu/tests/qapi-schema/enum-union-clash.json')
-rw-r--r-- | qemu/tests/qapi-schema/enum-union-clash.json | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qemu/tests/qapi-schema/enum-union-clash.json b/qemu/tests/qapi-schema/enum-union-clash.json new file mode 100644 index 000000000..593282b6c --- /dev/null +++ b/qemu/tests/qapi-schema/enum-union-clash.json @@ -0,0 +1,4 @@ +# we reject types that would conflict with implicit union enum +{ 'enum': 'UnionKind', 'data': [ 'oops' ] } +{ 'union': 'Union', + 'data': { 'a': 'int' } } |