diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2016-10-23 14:43:59 +0300 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2016-10-23 14:43:59 +0300 |
commit | e9667c1856411ab9368fb440276463c4c8f2f4ff (patch) | |
tree | ee4ca8f518a89ca830f20126b0085b63dac3c240 /tests/options/options.proto | |
parent | f866af7db7af0c42e5394a714a61513d189f2ba3 (diff) |
Add test cases for proto3 has_ field support.
Diffstat (limited to 'tests/options/options.proto')
-rw-r--r-- | tests/options/options.proto | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/options/options.proto b/tests/options/options.proto index aa722b52..89bb086f 100644 --- a/tests/options/options.proto +++ b/tests/options/options.proto @@ -89,3 +89,9 @@ message OneofMessage } } +// Proto3-style optional field in proto2 file +message Proto3Field +{ + optional int32 proto3field = 1 [(nanopb).proto3 = true]; +} + |