diff options
author | Aleksey Kladov <[email protected]> | 2018-02-03 19:34:35 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-02-03 19:34:35 +0000 |
commit | 9b3d806b0dbfcf76ff707aa86daba83454227720 (patch) | |
tree | bfefe85725b772a44a9abf3823128d08344a6b66 /tests/data/parser/ok/0024_const_item.txt | |
parent | 9435ea4b8e990521ee7a6206b6106bb3ce392746 (diff) |
Add infra for inline tests
Diffstat (limited to 'tests/data/parser/ok/0024_const_item.txt')
-rw-r--r-- | tests/data/parser/ok/0024_const_item.txt | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/data/parser/ok/0024_const_item.txt b/tests/data/parser/ok/0024_const_item.txt new file mode 100644 index 000000000..588e001f5 --- /dev/null +++ b/tests/data/parser/ok/0024_const_item.txt | |||
@@ -0,0 +1,31 @@ | |||
1 | FILE@[0; 46) | ||
2 | CONST_ITEM@[0; 21) | ||
3 | CONST_KW@[0; 5) | ||
4 | WHITESPACE@[5; 6) | ||
5 | IDENT@[6; 9) "FOO" | ||
6 | COLON@[9; 10) | ||
7 | WHITESPACE@[10; 11) | ||
8 | IDENT@[11; 14) "u32" | ||
9 | WHITESPACE@[14; 15) | ||
10 | EQ@[15; 16) | ||
11 | LITERAL@[16; 19) | ||
12 | WHITESPACE@[16; 17) | ||
13 | INT_NUMBER@[17; 19) | ||
14 | SEMI@[19; 20) | ||
15 | WHITESPACE@[20; 21) | ||
16 | CONST_ITEM@[21; 46) | ||
17 | CONST_KW@[21; 26) | ||
18 | WHITESPACE@[26; 27) | ||
19 | MUT_KW@[27; 30) | ||
20 | WHITESPACE@[30; 31) | ||
21 | IDENT@[31; 34) "BAR" | ||
22 | COLON@[34; 35) | ||
23 | WHITESPACE@[35; 36) | ||
24 | IDENT@[36; 39) "u32" | ||
25 | WHITESPACE@[39; 40) | ||
26 | EQ@[40; 41) | ||
27 | LITERAL@[41; 44) | ||
28 | WHITESPACE@[41; 42) | ||
29 | INT_NUMBER@[42; 44) | ||
30 | SEMI@[44; 45) | ||
31 | WHITESPACE@[45; 46) | ||