mirror of
https://github.com/google/pebble.git
synced 2025-12-01 19:52:23 -05:00
Import of the watch repository from Pebble
This commit is contained in:
10
third_party/nanopb/tests/regression/issue_493/SConscript
vendored
Normal file
10
third_party/nanopb/tests/regression/issue_493/SConscript
vendored
Normal file
@@ -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.
|
||||
|
||||
9
third_party/nanopb/tests/regression/issue_493/test.proto
vendored
Normal file
9
third_party/nanopb/tests/regression/issue_493/test.proto
vendored
Normal file
@@ -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