diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2017-04-14 11:45:57 +0300 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2017-04-14 11:45:57 +0300 |
commit | e75d20b659aced782a0017244836e415164e2d0e (patch) | |
tree | 13962119046a17c7592b993bfc49399e0e8772a6 /tests/regression/issue_256/submsg_array.proto | |
parent | 651bdc45f2180b17c132470ff1a3a515dbffaa78 (diff) |
Add testcase for issue #256
Diffstat (limited to 'tests/regression/issue_256/submsg_array.proto')
-rw-r--r-- | tests/regression/issue_256/submsg_array.proto | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/regression/issue_256/submsg_array.proto b/tests/regression/issue_256/submsg_array.proto new file mode 100644 index 0000000..4964a05 --- /dev/null +++ b/tests/regression/issue_256/submsg_array.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; +import "nanopb.proto"; + +message SubMessage { + repeated uint32 rep_uint32 = 1 [(nanopb).max_count = 3]; +} + +message TestMessage { + SubMessage submsg = 1; +} + |