1# Regression test for Issue 249: proto3 mode pb_decode() corrupts callback fields
2Import('env')
3
4env.NanopbProto('test')
5
6p = env.Program(["test.c",
7                 "test.pb.c",
8                 "$COMMON/pb_decode.o",
9                 "$COMMON/pb_encode.o",
10                 "$COMMON/pb_common.o"])
11env.RunTest(p)
12
13