summaryrefslogtreecommitdiffstats
path: root/tests/regression/issue_242/zero_value.proto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/regression/issue_242/zero_value.proto')
-rw-r--r--tests/regression/issue_242/zero_value.proto15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/regression/issue_242/zero_value.proto b/tests/regression/issue_242/zero_value.proto
new file mode 100644
index 00000000..020a39a5
--- /dev/null
+++ b/tests/regression/issue_242/zero_value.proto
@@ -0,0 +1,15 @@
+syntax = "proto2";
+import "nanopb.proto";
+
+message Extendable {
+ extensions 10 to 100;
+}
+
+extend Extendable {
+ optional int32 opt_int32 = 11;
+}
+
+message PointerMessage {
+ optional int32 opt_int32 = 11 [(nanopb).type = FT_POINTER];
+}
+