From ecbfe68bf4316f145ac52856d324b399224e7339 Mon Sep 17 00:00:00 2001 From: darksv Date: Fri, 14 Sep 2018 23:32:24 +0200 Subject: add missing files with inline tests --- crates/libsyntax2/tests/data/parser/inline/0109_struct_items.rs | 8 ++++++++ crates/libsyntax2/tests/data/parser/inline/0110_union_items.rs | 5 +++++ 2 files changed, 13 insertions(+) create mode 100644 crates/libsyntax2/tests/data/parser/inline/0109_struct_items.rs create mode 100644 crates/libsyntax2/tests/data/parser/inline/0110_union_items.rs (limited to 'crates/libsyntax2') diff --git a/crates/libsyntax2/tests/data/parser/inline/0109_struct_items.rs b/crates/libsyntax2/tests/data/parser/inline/0109_struct_items.rs new file mode 100644 index 000000000..693e3f3ee --- /dev/null +++ b/crates/libsyntax2/tests/data/parser/inline/0109_struct_items.rs @@ -0,0 +1,8 @@ +struct Foo; +struct Foo {} +struct Foo(); +struct Foo(String, usize); +struct Foo { + a: i32, + b: f32, +} diff --git a/crates/libsyntax2/tests/data/parser/inline/0110_union_items.rs b/crates/libsyntax2/tests/data/parser/inline/0110_union_items.rs new file mode 100644 index 000000000..b7dd610d8 --- /dev/null +++ b/crates/libsyntax2/tests/data/parser/inline/0110_union_items.rs @@ -0,0 +1,5 @@ +union Foo {} +union Foo { + a: i32, + b: f32, +} -- cgit v1.2.3