summaryrefslogtreecommitdiffstats
path: root/tests/posixexp8.sub
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/posixexp8.sub11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/posixexp8.sub b/tests/posixexp8.sub
new file mode 100644
index 0000000..383851c
--- /dev/null
+++ b/tests/posixexp8.sub
@@ -0,0 +1,11 @@
+P=A
+
+cat << EOF
+${P+\"$P\"}
+${P+"$P"}
+EOF
+
+recho "${P+\"$P\"}"
+
+recho "${P+"$P"}"
+recho ${P+"$P"}