summary refs log tree commit diff
path: root/bin/1sh/tests/builtins/eval8.7
diff options
context:
space:
mode:
Diffstat (limited to 'bin/1sh/tests/builtins/eval8.7')
-rw-r--r--bin/1sh/tests/builtins/eval8.77
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/1sh/tests/builtins/eval8.7 b/bin/1sh/tests/builtins/eval8.7
new file mode 100644
index 00000000..7420386e
--- /dev/null
+++ b/bin/1sh/tests/builtins/eval8.7
@@ -0,0 +1,7 @@
+# $FreeBSD: releng/12.1/bin/sh/tests/builtins/eval8.7 272983 2014-10-12 13:12:06Z jilles $
+
+f() {
+	eval "return 7
+echo bad2"
+}
+f