]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/qapi-schema/union-invalid-base.json
qapi: add qapi2texi script
[mirror_qemu.git] / tests / qapi-schema / union-invalid-base.json
index 92be39df69ae7fce191f5113fb82f2be3fd80157..fd837cb80bebed63a6122535bdaf4a04ea33b34a 100644 (file)
@@ -1,10 +1,20 @@
 # a union base type must be a struct
+
+##
+# @TestTypeA:
+##
 { 'struct': 'TestTypeA',
   'data': { 'string': 'str' } }
 
+##
+# @TestTypeB:
+##
 { 'struct': 'TestTypeB',
   'data': { 'integer': 'int' } }
 
+##
+# @TestUnion:
+##
 { 'union': 'TestUnion',
   'base': 'int',
   'discriminator': 'int',