test for issue #305, marked with xfail (#306)

This commit is contained in:
Girts
2023-10-15 20:18:24 -07:00
committed by GitHub
parent 8b5dd6c1f8
commit 61d192e207
2 changed files with 28 additions and 1 deletions

View File

@@ -2,6 +2,10 @@ syntax = "proto3";
package oneof;
message MixedDrink {
int32 shots = 1;
}
message Test {
oneof foo {
int32 pitied = 1;
@@ -13,6 +17,7 @@ message Test {
oneof bar {
int32 drinks = 11;
string bar_name = 12;
MixedDrink mixed_drink = 13;
}
}