summaryrefslogtreecommitdiffstats
path: root/libs/nanopb/tests/regression/issue_166/enums.proto
blob: 36948044bf9d3539e29df8356d0b976acd4d4ac3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
syntax = "proto2";

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;
}