diff options
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0083_struct_items.rs')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/ok/0083_struct_items.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0083_struct_items.rs b/crates/ra_syntax/tests/data/parser/inline/ok/0083_struct_items.rs new file mode 100644 index 000000000..693e3f3ee --- /dev/null +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0083_struct_items.rs | |||
@@ -0,0 +1,8 @@ | |||
1 | struct Foo; | ||
2 | struct Foo {} | ||
3 | struct Foo(); | ||
4 | struct Foo(String, usize); | ||
5 | struct Foo { | ||
6 | a: i32, | ||
7 | b: f32, | ||
8 | } | ||