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