aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-07-31 22:19:04 +0100
committerAleksey Kladov <[email protected]>2018-07-31 22:19:04 +0100
commit2bbd4c510d2da5c78f566b28e90548102bb107dc (patch)
treee830242471940c556d3feb5e0cf20fdd8aaec8bc /tests
parenta750135a0ac5a42035a1baa808e0af8ae562cd72 (diff)
not expr
Diffstat (limited to 'tests')
-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)