summaryrefslogtreecommitdiffstats
path: root/tests/regression/issue_256/submsg_array.proto
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2017-04-14 11:45:57 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2017-04-14 11:45:57 +0300
commite75d20b659aced782a0017244836e415164e2d0e (patch)
tree13962119046a17c7592b993bfc49399e0e8772a6 /tests/regression/issue_256/submsg_array.proto
parent651bdc45f2180b17c132470ff1a3a515dbffaa78 (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.proto11
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;
+}
+