mirror of
https://github.com/google/pebble.git
synced 2025-11-26 17:22:23 -05:00
Import of the watch repository from Pebble
This commit is contained in:
19
third_party/nanopb/tests/regression/issue_692/oneof.proto
vendored
Normal file
19
third_party/nanopb/tests/regression/issue_692/oneof.proto
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
syntax = "proto3";
|
||||
|
||||
import "other.proto";
|
||||
|
||||
message FirstOneof {}
|
||||
|
||||
message Bar {
|
||||
oneof content {
|
||||
FirstOneof first = 1;
|
||||
SecondOneof second = 2; // unknown size if no options are considered
|
||||
}
|
||||
}
|
||||
|
||||
message Foo {
|
||||
AnotherList foo = 1; // again, unknown size
|
||||
Bar bar = 2; // no duplicate size_union shall be generated anymore
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user