flatbuffers/tests/keyword_test.fbs

18 lines
273 B
Plaintext

namespace KeywordTest;
enum ABC: int { void, where, stackalloc }
enum public: int { }
table KeywordsInTable {
is: ABC = void;
private: public;
type: int;
default: bool = false;
}
union KeywordsInUnion {
static: KeywordsInTable,
internal: KeywordsInTable,
}