export -f fff
${THIS_SH} -c 'type fff'
+${THIS_SH} ./heredoc1.sub
+
+# test heredocs in command substitutions
+${THIS_SH} ./heredoc2.sub
+
+${THIS_SH} ./heredoc3.sub
+
+echo $(
+ cat <<< "comsub here-string"
+)
+
# check that end of file delimits a here-document
# THIS MUST BE LAST!