aboutsummaryrefslogtreecommitdiffhomepage
path: root/python/google/protobuf/internal/factory_test2.proto
diff options
context:
space:
mode:
Diffstat (limited to 'python/google/protobuf/internal/factory_test2.proto')
-rw-r--r--python/google/protobuf/internal/factory_test2.proto7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/google/protobuf/internal/factory_test2.proto b/python/google/protobuf/internal/factory_test2.proto
index 27feb6ce..bb1b54ad 100644
--- a/python/google/protobuf/internal/factory_test2.proto
+++ b/python/google/protobuf/internal/factory_test2.proto
@@ -30,6 +30,7 @@
// Author: matthewtoia@google.com (Matt Toia)
+syntax = "proto2";
package google.protobuf.python.internal;
@@ -87,6 +88,12 @@ message LoopMessage {
optional Factory2Message loop = 1;
}
+message MessageWithNestedEnumOnly {
+ enum NestedEnum {
+ NESTED_MESSAGE_ENUM_0 = 0;
+ }
+}
+
extend Factory1Message {
optional string another_field = 1002;
}