Adding upstream version 1.2+20240521.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
6b2864e4b9
commit
8512f66c5a
229 changed files with 19561 additions and 0 deletions
17
tests/inputs/oneof_empty/oneof_empty.proto
Normal file
17
tests/inputs/oneof_empty/oneof_empty.proto
Normal file
|
@ -0,0 +1,17 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package oneof_empty;
|
||||
|
||||
message Nothing {}
|
||||
|
||||
message MaybeNothing {
|
||||
string sometimes = 42;
|
||||
}
|
||||
|
||||
message Test {
|
||||
oneof empty {
|
||||
Nothing nothing = 1;
|
||||
MaybeNothing maybe1 = 2;
|
||||
MaybeNothing maybe2 = 3;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue