aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/unittest_proto3.proto
diff options
context:
space:
mode:
authorGravatar Jie Luo <anandolee@gmail.com>2017-02-28 10:51:19 -0800
committerGravatar GitHub <noreply@github.com>2017-02-28 10:51:19 -0800
commit606cb7ed2c55d5bda8aad2c88e5b0af09230fb3b (patch)
tree1bc5c982a660f16604317f27365e769b3710b3ca /src/google/protobuf/unittest_proto3.proto
parentd41c47fff992a7729a36ca61f8090aa40596e948 (diff)
There might be duplicated enum values when allow_alias is true. Add PreferredAlias into OriginalNameAttribute to remove the duplication (#2727)
Diffstat (limited to 'src/google/protobuf/unittest_proto3.proto')
-rw-r--r--src/google/protobuf/unittest_proto3.proto3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/google/protobuf/unittest_proto3.proto b/src/google/protobuf/unittest_proto3.proto
index f59d2178..a27b1b26 100644
--- a/src/google/protobuf/unittest_proto3.proto
+++ b/src/google/protobuf/unittest_proto3.proto
@@ -200,6 +200,9 @@ message TestMutualRecursionB {
int32 optional_int32 = 2;
}
+message TestEnumAllowAlias {
+ TestEnumWithDupValue value = 1;
+}
// Test an enum that has multiple values with the same number.
enum TestEnumWithDupValue {