From d445c2b04d11aa949b5a8d870739aac534b57076 Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Fri, 9 Dec 2016 18:50:20 +0200 Subject: Add regression test for issue #227 --- tests/regression/issue_227/unaligned_uint64.proto | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/regression/issue_227/unaligned_uint64.proto (limited to 'tests/regression/issue_227/unaligned_uint64.proto') diff --git a/tests/regression/issue_227/unaligned_uint64.proto b/tests/regression/issue_227/unaligned_uint64.proto new file mode 100644 index 00000000..f0269f60 --- /dev/null +++ b/tests/regression/issue_227/unaligned_uint64.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; +import 'nanopb.proto'; + +message MainMessage { + string foo = 1 [(nanopb).max_size = 3]; + string bar = 2 [(nanopb).max_size = 8]; +} + -- cgit 1.2.3-korg