diff options
Diffstat (limited to 'protos/extest/unittest_issues.proto')
-rw-r--r-- | protos/extest/unittest_issues.proto | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/protos/extest/unittest_issues.proto b/protos/extest/unittest_issues.proto index 459e58f8..0816e1e2 100644 --- a/protos/extest/unittest_issues.proto +++ b/protos/extest/unittest_issues.proto @@ -86,3 +86,17 @@ message NumberField { optional int32 _01 = 1;
}
+
+// issue 19 - negative enum values
+
+enum NegativeEnum {
+ FiveBelow = -5;
+ MinusOne = -1;
+ Zero = 0;
+}
+
+message NegativeEnumMessage {
+ optional NegativeEnum value = 1;
+ repeated NegativeEnum values = 2;
+ repeated NegativeEnum packed_values = 3 [packed=true];
+}
\ No newline at end of file |