diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2017-02-12 10:45:07 +0200 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2017-02-12 10:50:05 +0200 |
commit | 9dd81c51b3c64221117ad2c71daff0980baaf1c2 (patch) | |
tree | 4cd3824e3f4438a4f397f2f84fa707642274f823 /tests/regression/issue_242/zero_value.proto | |
parent | afdbca39edfaef58073f661d23300e1133c4e8af (diff) |
Add regression test for issue 242
Diffstat (limited to 'tests/regression/issue_242/zero_value.proto')
-rw-r--r-- | tests/regression/issue_242/zero_value.proto | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/regression/issue_242/zero_value.proto b/tests/regression/issue_242/zero_value.proto new file mode 100644 index 00000000..020a39a5 --- /dev/null +++ b/tests/regression/issue_242/zero_value.proto @@ -0,0 +1,15 @@ +syntax = "proto2"; +import "nanopb.proto"; + +message Extendable { + extensions 10 to 100; +} + +extend Extendable { + optional int32 opt_int32 = 11; +} + +message PointerMessage { + optional int32 opt_int32 = 11 [(nanopb).type = FT_POINTER]; +} + |