Files
flatbuffers-bigfoot/tests/keyword_test.fbs
Casper a078130c87 Fix Rust codegen escaping field in tables. (#7659)
* Fix Rust codegen escaping  field in tables.

* other gencode

* gencode

* removed a debug print

* regen code

Co-authored-by: Casper Neo <cneo@google.com>
Co-authored-by: Derek Bailey <derekbailey@google.com>
2022-12-15 06:04:57 +00:00

22 lines
316 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,
}
table Table2 {
type: KeywordsInUnion;
}