diff options
Diffstat (limited to 'tests/qapi-schema/reserved-member-underscore.json')
-rw-r--r-- | tests/qapi-schema/reserved-member-underscore.json | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/qapi-schema/reserved-member-underscore.json b/tests/qapi-schema/reserved-member-underscore.json new file mode 100644 index 0000000000..4a3a017638 --- /dev/null +++ b/tests/qapi-schema/reserved-member-underscore.json @@ -0,0 +1,4 @@ +# C member name collision +# We reject use of a single leading underscore in all names (names must +# begin with a letter or a downstream extension double-underscore prefix). +{ 'struct': 'Oops', 'data': { '_oops': 'str' } } |