Separation Generator to a dedicated repo
[apps/agl-service-can-low-level.git] / libs / nanopb / tests / options / proto3_options.proto
diff --git a/libs/nanopb/tests/options/proto3_options.proto b/libs/nanopb/tests/options/proto3_options.proto
new file mode 100644 (file)
index 0000000..1017f04
--- /dev/null
@@ -0,0 +1,11 @@
+syntax = "proto3";
+
+import "nanopb.proto";
+
+message Message1
+{
+    int32 proto3_default = 1;
+    int32 proto3_off = 2 [(nanopb).proto3 = false];
+    int32 proto3_on = 3 [(nanopb).proto3 = true];
+}
+