summaryrefslogtreecommitdiffstats
path: root/shell_cmds/sh/tests/builtins/return7.4
diff options
context:
space:
mode:
Diffstat (limited to 'shell_cmds/sh/tests/builtins/return7.4')
-rw-r--r--shell_cmds/sh/tests/builtins/return7.46
1 files changed, 6 insertions, 0 deletions
diff --git a/shell_cmds/sh/tests/builtins/return7.4 b/shell_cmds/sh/tests/builtins/return7.4
new file mode 100644
index 0000000..3efdd7f
--- /dev/null
+++ b/shell_cmds/sh/tests/builtins/return7.4
@@ -0,0 +1,6 @@
+# $FreeBSD: head/bin/sh/tests/builtins/return7.4 212475 2010-09-11 15:07:40Z jilles $
+
+f() {
+ while return 4; do exit 3; done
+}
+f