Files
flatbuffers/tests/keyword_test.fbs
Casper 273f6084e5 Fix Rust keyword inconsistency (#6794)
* Make Rust keyword escaping more consistent

* fix comment

* git clang format

Co-authored-by: Casper Neo <cneo@google.com>
2021-08-18 15:37:44 -04:00

16 lines
225 B
Plaintext

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