1# Regression test for #342:
2# Possible null-pointer dereference in pb_decode.c
3
4Import("env")
5
6env.NanopbProto("extensions")
7testprog = env.Program(["test_extensions.c", "extensions.pb.c",
8                '$COMMON/pb_decode.o', '$COMMON/pb_encode.o', '$COMMON/pb_common.o'])
9
10env.RunTest(testprog)
11
12