summaryrefslogtreecommitdiffstats
path: root/tests/regression/issue_256/submsg_array.proto
diff options
context:
space:
mode:
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 00000000..4964a05f
--- /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;
+}
+