aboutsummaryrefslogtreecommitdiffstats
path: root/tests/regression/issue_166/enums.proto
blob: a0964ab46aecb730f80fcb83461200b1f9c549c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;
}