diff options
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0103_array_expr.rs')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/ok/0103_array_expr.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0103_array_expr.rs b/crates/ra_syntax/tests/data/parser/inline/ok/0103_array_expr.rs new file mode 100644 index 000000000..4dc1999d1 --- /dev/null +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0103_array_expr.rs | |||
@@ -0,0 +1,6 @@ | |||
1 | fn foo() { | ||
2 | []; | ||
3 | [1]; | ||
4 | [1, 2,]; | ||
5 | [1; 2]; | ||
6 | } | ||