summaryrefslogtreecommitdiffstats
path: root/tests/field_size_16
diff options
context:
space:
mode:
Diffstat (limited to 'tests/field_size_16')
-rw-r--r--tests/field_size_16/alltypes.proto6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/field_size_16/alltypes.proto b/tests/field_size_16/alltypes.proto
index 81693c00..039391fc 100644
--- a/tests/field_size_16/alltypes.proto
+++ b/tests/field_size_16/alltypes.proto
@@ -101,6 +101,12 @@ message AllTypes {
optional MyEnum opt_enum = 10057 [default = Second];
optional EmptyMessage opt_emptymsg = 10058;
+ oneof oneof
+ {
+ SubMessage oneof_msg1 = 10059;
+ EmptyMessage oneof_msg2 = 10060;
+ }
+
// Check that extreme integer values are handled correctly
required Limits req_limits = 98;