Projet_SETI_RISC-V/riscv-gnu-toolchain/qemu/tests/qapi-schema/alternate-clash.json
2023-03-06 14:48:14 +01:00

8 lines
316 B
JSON

# Alternate branch name collision
# Naming rules make collision impossible (even with the pragma). If
# that wasn't the case, then we'd get a collision in generated C: two
# union members a_b.
{ 'pragma': { 'member-name-exceptions': [ 'Alt1' ] } }
{ 'alternate': 'Alt1',
'data': { 'a-b': 'bool', 'a_b': 'int' } }