diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-11-02 22:05:49 +0200 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-11-02 22:05:49 +0200 |
commit | dcdd7f98fdb000859a9e2812174a817431b1af34 (patch) | |
tree | ca74462b612bd31da927506e45c981349a088828 /tests | |
parent | 287207841db5df93cf7ff9c71a5f1548deb26b09 (diff) |
Generate #define tags for extension fields also.
Update issue 93
Status: FixedInGit
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; } |