aboutsummaryrefslogtreecommitdiffhomepage
path: root/php/tests/proto/test_no_namespace.proto
diff options
context:
space:
mode:
Diffstat (limited to 'php/tests/proto/test_no_namespace.proto')
-rw-r--r--php/tests/proto/test_no_namespace.proto10
1 files changed, 8 insertions, 2 deletions
diff --git a/php/tests/proto/test_no_namespace.proto b/php/tests/proto/test_no_namespace.proto
index b8c4fdf2..58f13d47 100644
--- a/php/tests/proto/test_no_namespace.proto
+++ b/php/tests/proto/test_no_namespace.proto
@@ -1,10 +1,16 @@
syntax = "proto3";
-message NoNameSpaceMessage {
+message NoNamespaceMessage {
int32 a = 1;
+
+ enum NestedEnum {
+ ZERO = 0;
+ }
+ NestedEnum b = 2;
+ repeated NestedEnum c = 3;
}
-enum NoNameSpaceEnum {
+enum NoNamespaceEnum {
VALUE_A = 0;
VALUE_B = 1;
}