Sign in
fuchsia
/
third_party
/
github.com
/
google
/
flatbuffers
/
refs/heads/main
/
.
/
tests
/
non_zero_enum.fbs
blob: e8d98ada0b14d1cf37875352f2712be88140904e [
file
] [
log
] [
blame
] [
edit
]
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
;
}