From 4a6580726ec2a0b71d8f01133d5c38a469eac497 Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Thu, 26 Feb 2015 17:33:36 +0200 Subject: Fix generator error when long_names:false is combined with Oneofs. Update issue 147 Status: FixedInGit --- tests/options/options.proto | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tests') 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; + } +} + -- cgit 1.2.3-korg