summaryrefslogtreecommitdiffstats
path: root/tests/nquote4.sub
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nquote4.sub')
-rw-r--r--tests/nquote4.sub6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/nquote4.sub b/tests/nquote4.sub
new file mode 100644
index 0000000..0d4a495
--- /dev/null
+++ b/tests/nquote4.sub
@@ -0,0 +1,6 @@
+# make sure aliases containing new-style single quotes are expanded correctly
+
+shopt -s expand_aliases
+alias foo=$'echo foo\n\nquux\n'
+
+foo