From de938076da92b659a4bdac286f0daa0a2f393989 Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Mon, 6 Jun 2016 19:33:05 +0300 Subject: Add static repeated submessage field to mem_release test case. Attempt at reproducing issue #204. --- tests/mem_release/mem_release.proto | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/mem_release/mem_release.proto') diff --git a/tests/mem_release/mem_release.proto b/tests/mem_release/mem_release.proto index c3b38c8b..0816dc22 100644 --- a/tests/mem_release/mem_release.proto +++ b/tests/mem_release/mem_release.proto @@ -13,6 +13,7 @@ message TestMessage required SubMessage static_req_submsg = 1 [(nanopb).type = FT_STATIC]; optional SubMessage dynamic_submsg = 2 [(nanopb).type = FT_POINTER]; optional SubMessage static_opt_submsg = 3 [(nanopb).type = FT_STATIC]; + repeated SubMessage static_rep_submsg = 4 [(nanopb).type = FT_STATIC, (nanopb).max_count=2]; extensions 100 to 200; } -- cgit 1.2.3-korg