summaryrefslogtreecommitdiffstats
path: root/tests/comsub-eof0.sub
diff options
context:
space:
mode:
Diffstat (limited to 'tests/comsub-eof0.sub')
-rw-r--r--tests/comsub-eof0.sub6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/comsub-eof0.sub b/tests/comsub-eof0.sub
new file mode 100644
index 0000000..7490faa
--- /dev/null
+++ b/tests/comsub-eof0.sub
@@ -0,0 +1,6 @@
+# it's only the space before the paren that makes this an error
+# when I fix it, it will show up here
+foo=$(cat <<EOF
+hi
+EOF )
+echo $foo