aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/parser/inline/ok/0061_record_lit.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/syntax/test_data/parser/inline/ok/0061_record_lit.rs')
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0061_record_lit.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/syntax/test_data/parser/inline/ok/0061_record_lit.rs b/crates/syntax/test_data/parser/inline/ok/0061_record_lit.rs
new file mode 100644
index 000000000..6285e5549
--- /dev/null
+++ b/crates/syntax/test_data/parser/inline/ok/0061_record_lit.rs
@@ -0,0 +1,6 @@
1fn foo() {
2 S {};
3 S { x, y: 32, };
4 S { x, y: 32, ..Default::default() };
5 TupleStruct { 0: 1 };
6}