From b513e94d88c8702a051acf4d58c0335c9aed9db2 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 5 Aug 2018 01:03:22 +0300 Subject: Conditionals --- tests/data/parser/inline/0077_while_expr.rs | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/data/parser/inline/0077_while_expr.rs (limited to 'tests/data/parser/inline/0077_while_expr.rs') diff --git a/tests/data/parser/inline/0077_while_expr.rs b/tests/data/parser/inline/0077_while_expr.rs new file mode 100644 index 000000000..293046a04 --- /dev/null +++ b/tests/data/parser/inline/0077_while_expr.rs @@ -0,0 +1,4 @@ +fn foo() { + while true {}; + while let Some(x) = it.next() {}; +} -- cgit v1.2.3