From a750135a0ac5a42035a1baa808e0af8ae562cd72 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 1 Aug 2018 00:14:26 +0300 Subject: If expr --- tests/data/parser/inline/0065_if_expr.rs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/data/parser/inline/0065_if_expr.rs (limited to 'tests/data/parser/inline/0065_if_expr.rs') diff --git a/tests/data/parser/inline/0065_if_expr.rs b/tests/data/parser/inline/0065_if_expr.rs new file mode 100644 index 000000000..f1691c159 --- /dev/null +++ b/tests/data/parser/inline/0065_if_expr.rs @@ -0,0 +1,5 @@ +fn foo() { + if true {}; + if true {} else {}; + if true {} else if false {} else {} +} -- cgit v1.2.3