diff options
Diffstat (limited to 'tests/data/lexer')
-rw-r--r-- | tests/data/lexer/0011_keywords.rs | 1 | ||||
-rw-r--r-- | tests/data/lexer/0011_keywords.txt | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/data/lexer/0011_keywords.rs b/tests/data/lexer/0011_keywords.rs new file mode 100644 index 000000000..aa89d70c5 --- /dev/null +++ b/tests/data/lexer/0011_keywords.rs | |||
@@ -0,0 +1 @@ | |||
fn use struct trait enum impl | |||
diff --git a/tests/data/lexer/0011_keywords.txt b/tests/data/lexer/0011_keywords.txt new file mode 100644 index 000000000..d90047d1e --- /dev/null +++ b/tests/data/lexer/0011_keywords.txt | |||
@@ -0,0 +1,12 @@ | |||
1 | FN_KW 2 "fn" | ||
2 | WHITESPACE 1 " " | ||
3 | USE_KW 3 "use" | ||
4 | WHITESPACE 1 " " | ||
5 | STRUCT_KW 6 "struct" | ||
6 | WHITESPACE 1 " " | ||
7 | TRAIT_KW 5 "trait" | ||
8 | WHITESPACE 1 " " | ||
9 | ENUM_KW 4 "enum" | ||
10 | WHITESPACE 1 " " | ||
11 | IMPL_KW 4 "impl" | ||
12 | WHITESPACE 1 "\n" | ||