Sign in
pigweed
/
third_party
/
github
/
google
/
flatbuffers
/
4e582b0c1d60c55f9a0a90f9740d4a4c48f3b53b
/
.
/
tests
/
non_zero_enum.fbs
blob: e8d98ada0b14d1cf37875352f2712be88140904e [
file
]
enum
NonZero
:
ubyte
{
VAL
=
1
,
}
// this now is not allowed because arrays of enums must have a zero value
// struct NonZeroArrayStruct {
// data: [NonZero:4];
// }
table
NonZeroVectorTable
{
values
:
[
NonZero
];
value
:
NonZero
=
VAL
;
}