1# Regression test for #617:
2# Unordered field numbers inside oneof can cause fields to be ignored
3
4Import("env")
5
6env.NanopbProto(["oneof.proto", "oneof.options"])
7
8test = env.Program(["test_oneof.c", "oneof.pb.c", "$COMMON/pb_decode.o", "$COMMON/pb_common.o"])
9env.RunTest(test)
10
11