1# Regression test for #363:
2# Incorrect PB_STATIC_ASSERT for bytes inside oneof
3
4Import("env")
5
6env.NanopbProto("oneofmsg.proto")
7testprog = env.Program(["test_oneofmsg.c",
8                 "oneofmsg.pb.c",
9                 "$COMMON/pb_encode.o",
10                 "$COMMON/pb_decode.o",
11                 "$COMMON/pb_common.o"])
12
13env.RunTest(testprog)
14
15