mirror of
https://github.com/google/pebble
synced 2026-10-18 01:04:12 +02:00
Import of the watch repository from Pebble
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# Regression test for #493:
|
||||
# Maximum recursion depth exceeded in generator
|
||||
|
||||
Import("env")
|
||||
|
||||
env.NanopbProto("test.proto")
|
||||
|
||||
# Note that test.pb.c will fail compilation due to recursive static definition.
|
||||
# This is to be expected.
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
syntax = "proto2";
|
||||
import "nanopb.proto";
|
||||
|
||||
message MyMessage {
|
||||
option (nanopb_msgopt).msgid = 8;
|
||||
oneof configuration_flash {
|
||||
MyMessage my_message_v1 = 1;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user