summaryrefslogtreecommitdiffstats
path: root/tests/regression/issue_247/padding.proto
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2017-02-25 21:22:41 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2017-02-25 21:22:41 +0200
commitefb9a31c36b369e1b3cedfb72d58b634aae1d30c (patch)
treedc862617651734d4d86a35f51308a233cd5c402d /tests/regression/issue_247/padding.proto
parentb5abefc25d033f7e12e369f5c664f1f0efaf398b (diff)
Add testcase for issue #247
Diffstat (limited to 'tests/regression/issue_247/padding.proto')
-rw-r--r--tests/regression/issue_247/padding.proto12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/regression/issue_247/padding.proto b/tests/regression/issue_247/padding.proto
new file mode 100644
index 00000000..20bddac3
--- /dev/null
+++ b/tests/regression/issue_247/padding.proto
@@ -0,0 +1,12 @@
+syntax = "proto3";
+import "nanopb.proto";
+
+message SubMessage {
+ bool boolfield = 1;
+ int64 intfield = 2;
+}
+
+message TestMessage {
+ SubMessage submsg = 1;
+}
+