]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/qapi-schema/enum-clash-member.json
hw/riscv: Validate cluster and NUMA node boundary
[mirror_qemu.git] / tests / qapi-schema / enum-clash-member.json
index b7dc02a28d67d3145092f2a58e35505f15925fb9..82bcbf724b0f72ad00593270b97047248ae87bd2 100644 (file)
@@ -1,2 +1,3 @@
 # we reject enums where members will clash when mapped to C enum
-{ 'enum': 'MyEnum', 'data': [ 'one', 'ONE' ] }
+{ 'pragma': { 'member-name-exceptions': [ 'MyEnum' ] } }
+{ 'enum': 'MyEnum', 'data': [ 'one-two', 'one_two' ] }