From e75d20b659aced782a0017244836e415164e2d0e Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Fri, 14 Apr 2017 11:45:57 +0300 Subject: Add testcase for issue #256 --- tests/regression/issue_256/submsg_array.proto | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/regression/issue_256/submsg_array.proto (limited to 'tests/regression/issue_256/submsg_array.proto') 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; +} + -- cgit 1.2.3-korg