From dcdd7f98fdb000859a9e2812174a817431b1af34 Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Sat, 2 Nov 2013 22:05:49 +0200 Subject: Generate #define tags for extension fields also. Update issue 93 Status: FixedInGit --- tests/extensions/encode_extensions.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/extensions/encode_extensions.c') 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; } -- cgit 1.2.3-korg