summaryrefslogtreecommitdiffstats
path: root/libs/nanopb/tests/regression/issue_172/submessage
diff options
context:
space:
mode:
Diffstat (limited to 'libs/nanopb/tests/regression/issue_172/submessage')
-rw-r--r--libs/nanopb/tests/regression/issue_172/submessage/submessage.options1
-rw-r--r--libs/nanopb/tests/regression/issue_172/submessage/submessage.proto4
2 files changed, 5 insertions, 0 deletions
diff --git a/libs/nanopb/tests/regression/issue_172/submessage/submessage.options b/libs/nanopb/tests/regression/issue_172/submessage/submessage.options
new file mode 100644
index 00000000..12fb1984
--- /dev/null
+++ b/libs/nanopb/tests/regression/issue_172/submessage/submessage.options
@@ -0,0 +1 @@
+submessage.data max_size: 16
diff --git a/libs/nanopb/tests/regression/issue_172/submessage/submessage.proto b/libs/nanopb/tests/regression/issue_172/submessage/submessage.proto
new file mode 100644
index 00000000..ce6804af
--- /dev/null
+++ b/libs/nanopb/tests/regression/issue_172/submessage/submessage.proto
@@ -0,0 +1,4 @@
+syntax = "proto2";
+message submessage {
+ required bytes data = 1;
+}