aboutsummaryrefslogtreecommitdiffhomepage
path: root/php
diff options
context:
space:
mode:
authorGravatar Paul Yang <TeBoring@users.noreply.github.com>2017-04-26 16:32:21 -0700
committerGravatar GitHub <noreply@github.com>2017-04-26 16:32:21 -0700
commita6189acd18b00611c1dc7042299ad75486f08a1a (patch)
tree6371eddb9a4192e9fa3117af6bf534baef9d737d /php
parent3c0855e94ac4cf6c3c2e899ac88acf4fa56e9770 (diff)
Add prefix to enum value with reserved name. (#3020)
Diffstat (limited to 'php')
-rw-r--r--php/tests/proto/test.proto1
1 files changed, 1 insertions, 0 deletions
diff --git a/php/tests/proto/test.proto b/php/tests/proto/test.proto
index f0d009c8..39229254 100644
--- a/php/tests/proto/test.proto
+++ b/php/tests/proto/test.proto
@@ -119,6 +119,7 @@ enum TestEnum {
ZERO = 0;
ONE = 1;
TWO = 2;
+ ECHO = 3; // Test reserved name.
}
// Test prefix for reserved words.