1# Regression test for #395:
2# Unexpected empty submessage in proto3 mode
3
4Import("env")
5
6env.NanopbProto(["test.proto", "test.options"])
7testprog = env.Program(["test.c",
8                 "test.pb.c",
9                 "$COMMON/pb_encode.o",
10                 "$COMMON/pb_decode.o",
11                 "$COMMON/pb_common.o"])
12
13env.RunTest(testprog)
14
15