aboutsummaryrefslogtreecommitdiff
path: root/tests/data/parser/inline/0068_return_expr.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-01 09:27:31 +0100
committerAleksey Kladov <[email protected]>2018-08-01 09:27:31 +0100
commit37e1625f0139da07c2690b6ee6ca7eae5ebb061a (patch)
tree368d3329e120fc5d76a0595110f7519bb084d70f /tests/data/parser/inline/0068_return_expr.rs
parent53485030dc49aa7cd66e36c8a1e1abf1bf08020c (diff)
return expr
Diffstat (limited to 'tests/data/parser/inline/0068_return_expr.rs')
-rw-r--r--tests/data/parser/inline/0068_return_expr.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/data/parser/inline/0068_return_expr.rs b/tests/data/parser/inline/0068_return_expr.rs
new file mode 100644
index 000000000..5733666b6
--- /dev/null
+++ b/tests/data/parser/inline/0068_return_expr.rs
@@ -0,0 +1,4 @@
1fn foo() {
2 return;
3 return 92;
4}