aboutsummaryrefslogtreecommitdiff
path: root/tests/data/lexer
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-01-08 21:06:42 +0000
committerAleksey Kladov <[email protected]>2018-01-08 21:06:42 +0000
commit7f8ca07d864b5ec8e668c48c4c029dd0584eae4a (patch)
treeddf968cb2da4e95bb8cb247a261a1baa87664718 /tests/data/lexer
parent0cf2d6afee52fe248c8a032346c5bdb6dc7cd928 (diff)
G: extern crate
Diffstat (limited to 'tests/data/lexer')
-rw-r--r--tests/data/lexer/0011_keywords.rs2
-rw-r--r--tests/data/lexer/0011_keywords.txt6
2 files changed, 7 insertions, 1 deletions
diff --git a/tests/data/lexer/0011_keywords.rs b/tests/data/lexer/0011_keywords.rs
index 1f4a4a74c..4adb1587e 100644
--- a/tests/data/lexer/0011_keywords.rs
+++ b/tests/data/lexer/0011_keywords.rs
@@ -1 +1 @@
fn use struct trait enum impl true false fn use struct trait enum impl true false as extern crate
diff --git a/tests/data/lexer/0011_keywords.txt b/tests/data/lexer/0011_keywords.txt
index eded37084..bf8ceffd4 100644
--- a/tests/data/lexer/0011_keywords.txt
+++ b/tests/data/lexer/0011_keywords.txt
@@ -13,4 +13,10 @@ WHITESPACE 1 " "
13TRUE_KW 4 "true" 13TRUE_KW 4 "true"
14WHITESPACE 1 " " 14WHITESPACE 1 " "
15FALSE_KW 5 "false" 15FALSE_KW 5 "false"
16WHITESPACE 1 " "
17AS_KW 2 "as"
18WHITESPACE 1 " "
19EXTERN_KW 6 "extern"
20WHITESPACE 1 " "
21CRATE_KW 5 "crate"
16WHITESPACE 1 "\n" 22WHITESPACE 1 "\n"