aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/parser/inline/0066_not_expr.rs3
-rw-r--r--tests/data/parser/inline/0066_not_expr.txt24
2 files changed, 27 insertions, 0 deletions
diff --git a/tests/data/parser/inline/0066_not_expr.rs b/tests/data/parser/inline/0066_not_expr.rs
new file mode 100644
index 000000000..4c97fd9a6
--- /dev/null
+++ b/tests/data/parser/inline/0066_not_expr.rs
@@ -0,0 +1,3 @@
1fn foo() {
2 !!true;
3}
diff --git a/tests/data/parser/inline/0066_not_expr.txt b/tests/data/parser/inline/0066_not_expr.txt
new file mode 100644
index 000000000..3e950969e
--- /dev/null
+++ b/tests/data/parser/inline/0066_not_expr.txt
@@ -0,0 +1,24 @@
1FILE@[0; 25)
2 FN_ITEM@[0; 25)
3 FN_KW@[0; 2)
4 NAME@[2; 6)
5 WHITESPACE@[2; 3)
6 IDENT@[3; 6) "foo"
7 PARAM_LIST@[6; 9)
8 L_PAREN@[6; 7)
9 R_PAREN@[7; 8)
10 WHITESPACE@[8; 9)
11 BLOCK@[9; 25)
12 L_CURLY@[9; 10)
13 EXPR_STMT@[10; 23)
14 NOT_EXPR@[10; 21)
15 WHITESPACE@[10; 15)
16 EXCL@[15; 16)
17 NOT_EXPR@[16; 21)
18 EXCL@[16; 17)
19 LITERAL@[17; 21)
20 TRUE_KW@[17; 21)
21 SEMI@[21; 22)
22 WHITESPACE@[22; 23)
23 R_CURLY@[23; 24)
24 WHITESPACE@[24; 25)