Import of the watch repository from Pebble

This commit is contained in:
Matthieu Jeanson
2025-01-27 11:38:16 -08:00
committed by Katharine Berry
commit 3b92768480
10334 changed files with 2564465 additions and 0 deletions
@@ -0,0 +1,6 @@
# Regression test for #487:
# Problem in default_value() with nested messages
Import("env")
env.NanopbProto("test")
env.Object("test.pb.c")
@@ -0,0 +1,16 @@
syntax = "proto2";
package a.b.c;
message TopLevel {
optional uint32 field = 1 [default = 0];
optional NestedTypeA foo = 2;
message NestedTypeA {
optional NestedTypeB bar = 1;
message NestedTypeB {
optional uint32 foobar = 1;
}
}
}