diff options
Diffstat (limited to 'tests/regression/issue_166/enums.proto')
-rw-r--r-- | tests/regression/issue_166/enums.proto | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/regression/issue_166/enums.proto b/tests/regression/issue_166/enums.proto new file mode 100644 index 00000000..a0964ab4 --- /dev/null +++ b/tests/regression/issue_166/enums.proto @@ -0,0 +1,16 @@ +enum SignedEnum { + SE_MIN = -1; + SE_MAX = 255; +} + +enum UnsignedEnum { + UE_MAX = 65536; +} + +message SignedMsg { + required SignedEnum value = 1; +} + +message UnsignedMsg { + required UnsignedEnum value = 1; +} |