1# Regression test for Issue 242: pb_encode does not encode tag for
2# extension fields that is all zeros
3Import('env')
4
5env.NanopbProto('zero_value')
6
7p = env.Program(["zero_value.c",
8                 "zero_value.pb.c",
9                 "$COMMON/pb_decode.o",
10                 "$COMMON/pb_encode.o",
11                 "$COMMON/pb_common.o"])
12env.RunTest(p)
13
14