]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/qapi-schema/flat-union-empty.json
qapi: Permit omitting all flat union branches
[mirror_qemu.git] / tests / qapi-schema / flat-union-empty.json
index 77f1d9abfb8f9b39a0a9dd9a03be3cb4e4343c15..83e1cc7b96be52b4e9fdcdc4ceaeff1e029315d2 100644 (file)
@@ -1,4 +1,4 @@
-# flat unions cannot be empty
+# flat union discriminator cannot be empty
 { 'enum': 'Empty', 'data': [ ] }
 { 'struct': 'Base', 'data': { 'type': 'Empty' } }
 { 'union': 'Union', 'base': 'Base', 'discriminator': 'type', 'data': { } }