Sign in
pigweed
/
third_party
/
github
/
nanopb
/
nanopb
/
ccab5d12788526f3c56c6cbcd742072a05474bc8
/
.
/
tests
/
enum_mapping
/
enum_mapping.proto
blob: 0e26096e097468639c5d5d10af7fdbccf334c64f [
file
] [
log
] [
blame
]
syntax
=
"proto3"
;
enum
TestEnum1
{
A
=
0
;
B
=
2
;
C
=
-
3
;
}
enum
TestEnum2
{
X
=
0
;
Y
=
5
;
}
message
TestMsg
{
TestEnum1
test1
=
1
;
oneof oneof1
{
TestEnum2
test2
=
2
;
}
}