aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/parser/ok/0016_struct_flavors.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/syntax/test_data/parser/ok/0016_struct_flavors.rs')
-rw-r--r--crates/syntax/test_data/parser/ok/0016_struct_flavors.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/crates/syntax/test_data/parser/ok/0016_struct_flavors.rs b/crates/syntax/test_data/parser/ok/0016_struct_flavors.rs
new file mode 100644
index 000000000..69638350c
--- /dev/null
+++ b/crates/syntax/test_data/parser/ok/0016_struct_flavors.rs
@@ -0,0 +1,10 @@
1struct A;
2struct B {}
3struct C();
4
5struct D {
6 a: u32,
7 pub b: u32
8}
9
10struct E(pub x, y,);