diff options
author | Aleksey Kladov <[email protected]> | 2018-01-13 19:00:26 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-01-13 19:00:26 +0000 |
commit | 08f7c69f90bac772c69b3bf34877f3d9a845c541 (patch) | |
tree | 4866ac1ab988d1735ded745aacf1630f27a3220e /tests/data/parser/ok/0016_struct_flavors.rs | |
parent | 55891be06a1f0a051638cb59f1d15167faf5ab82 (diff) |
G: struct flavors
Diffstat (limited to 'tests/data/parser/ok/0016_struct_flavors.rs')
-rw-r--r-- | tests/data/parser/ok/0016_struct_flavors.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/data/parser/ok/0016_struct_flavors.rs b/tests/data/parser/ok/0016_struct_flavors.rs new file mode 100644 index 000000000..69638350c --- /dev/null +++ b/tests/data/parser/ok/0016_struct_flavors.rs | |||
@@ -0,0 +1,10 @@ | |||
1 | struct A; | ||
2 | struct B {} | ||
3 | struct C(); | ||
4 | |||
5 | struct D { | ||
6 | a: u32, | ||
7 | pub b: u32 | ||
8 | } | ||
9 | |||
10 | struct E(pub x, y,); | ||