diff options
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/parser/0001_struct_item.rs | 3 | ||||
-rw-r--r-- | tests/data/parser/0001_struct_item.txt | 12 |
2 files changed, 15 insertions, 0 deletions
diff --git a/tests/data/parser/0001_struct_item.rs b/tests/data/parser/0001_struct_item.rs new file mode 100644 index 000000000..d3a8c1d23 --- /dev/null +++ b/tests/data/parser/0001_struct_item.rs | |||
@@ -0,0 +1,3 @@ | |||
1 | struct S { | ||
2 | |||
3 | } \ No newline at end of file | ||
diff --git a/tests/data/parser/0001_struct_item.txt b/tests/data/parser/0001_struct_item.txt new file mode 100644 index 000000000..5ef544282 --- /dev/null +++ b/tests/data/parser/0001_struct_item.txt | |||
@@ -0,0 +1,12 @@ | |||
1 | FILE@[0; 13) | ||
2 | STRUCT_ITEM@[0; 7) | ||
3 | STRUCT_KW@[0; 6) | ||
4 | WHITESPACE@[6; 7) | ||
5 | ERROR@[7; 9) | ||
6 | IDENT@[7; 8) | ||
7 | WHITESPACE@[8; 9) | ||
8 | ERROR@[9; 12) | ||
9 | L_CURLY@[9; 10) | ||
10 | WHITESPACE@[10; 12) | ||
11 | ERROR@[12; 13) | ||
12 | R_CURLY@[12; 13) | ||