diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/extensions/encode_extensions.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/extensions/encode_extensions.c b/tests/extensions/encode_extensions.c index dee3597d..00745826 100644 --- a/tests/extensions/encode_extensions.c +++ b/tests/extensions/encode_extensions.c @@ -46,5 +46,9 @@ int main(int argc, char **argv) fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&stream)); return 1; /* Failure */ } + + /* Check that the field tags are properly generated */ + (void)AllTypes_extensionfield1_tag; + (void)ExtensionMessage_AllTypes_extensionfield2_tag; } |