summaryrefslogtreecommitdiff
path: root/tests/exp7.sub
diff options
context:
space:
mode:
Diffstat (limited to 'tests/exp7.sub')
-rw-r--r--tests/exp7.sub12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/exp7.sub b/tests/exp7.sub
index 0a4acc3c..f3f3b6bd 100644
--- a/tests/exp7.sub
+++ b/tests/exp7.sub
@@ -9,3 +9,15 @@ recho $# "$1" "$2" "$3"
x=$c
recho "$x"
+
+unset c c2 x
+
+c=$'Y\1Y';
+
+v=X${c}X;
+recho X${c}X
+recho "$v"
+
+v=X$c
+recho X$c
+recho "$v"