summaryrefslogtreecommitdiffstats
path: root/tests/comsub-eof0.sub
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/comsub-eof0.sub4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/comsub-eof0.sub b/tests/comsub-eof0.sub
new file mode 100644
index 0000000..7b0775f
--- /dev/null
+++ b/tests/comsub-eof0.sub
@@ -0,0 +1,4 @@
+foo=$(cat <<EOF
+hi
+EOF )
+echo $foo