• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Regression test for Issue 229: problem encoding message that has
2# multiple oneof fields
3Import('env')
4
5env.NanopbProto('multiple_oneof')
6
7p = env.Program(["multiple_oneof.c",
8                 "multiple_oneof.pb.c",
9                 "$COMMON/pb_decode.o",
10                 "$COMMON/pb_encode.o",
11                 "$COMMON/pb_common.o"])
12env.RunTest(p)
13
14