From 678882d4f844135cc5df33de1f6da326ec96a78b Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 8 Aug 2018 00:59:16 +0300 Subject: literal pattern --- tests/data/parser/inline/0092_literal_pattern.rs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/data/parser/inline/0092_literal_pattern.rs (limited to 'tests/data/parser/inline/0092_literal_pattern.rs') diff --git a/tests/data/parser/inline/0092_literal_pattern.rs b/tests/data/parser/inline/0092_literal_pattern.rs new file mode 100644 index 000000000..16f674d9d --- /dev/null +++ b/tests/data/parser/inline/0092_literal_pattern.rs @@ -0,0 +1,7 @@ +fn main() { + match () { + 92 => (), + 'c' => (), + "hello" => (), + } +} -- cgit v1.2.3