mirror of
https://github.com/google/pebble.git
synced 2025-03-19 18:41:21 +00:00
10 lines
281 B
Python
10 lines
281 B
Python
# Regression test for #617:
|
|
# Unordered field numbers inside oneof can cause fields to be ignored
|
|
|
|
Import("env")
|
|
|
|
env.NanopbProto(["oneof.proto", "oneof.options"])
|
|
|
|
test = env.Program(["test_oneof.c", "oneof.pb.c", "$COMMON/pb_decode.o", "$COMMON/pb_common.o"])
|
|
env.RunTest(test)
|
|
|