diff options
Diffstat (limited to 'tests/options/options.proto')
-rw-r--r-- | tests/options/options.proto | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/options/options.proto b/tests/options/options.proto index a8e557be..cdcffeb7 100644 --- a/tests/options/options.proto +++ b/tests/options/options.proto @@ -75,3 +75,12 @@ message SkippedMessage option (nanopb_msgopt).skip_message = true; required int32 foo = 1; } + +// Message with oneof field +message OneofMessage +{ + oneof foo { + int32 bar = 1; + } +} + |