Verify build with protobuf-3.0.0, fix problems.
[apps/agl-service-can-low-level.git] / tests / extensions / encode_extensions.c
index dee3597..0074582 100644 (file)
@@ -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;
 }