summaryrefslogtreecommitdiffstats
path: root/tests/regression/issue_227/unaligned_uint64.proto
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2016-12-09 18:50:20 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2016-12-09 18:50:20 +0200
commitd445c2b04d11aa949b5a8d870739aac534b57076 (patch)
treebaf4b16f76389ee51e2066f9fa0d80f3bbe61019 /tests/regression/issue_227/unaligned_uint64.proto
parent69e9c1fc8162956feffa32e07a97c53bdb92f5ef (diff)
Add regression test for issue #227
Diffstat (limited to 'tests/regression/issue_227/unaligned_uint64.proto')
-rw-r--r--tests/regression/issue_227/unaligned_uint64.proto8
1 files changed, 8 insertions, 0 deletions
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];
+}
+