diff options
Diffstat (limited to 'tests/heredoc.right')
-rw-r--r-- | tests/heredoc.right | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/heredoc.right b/tests/heredoc.right index c3f6a7f..b8754de 100644 --- a/tests/heredoc.right +++ b/tests/heredoc.right @@ -39,5 +39,26 @@ ENDOFINPUT aa=1 } +foo is a function +foo () +{ + echo; + cat <<END +bar +END + + cat <<EOF +qux +EOF + +} + +bar +qux + +bar +qux +comsub here-string +./heredoc.tests: line 100: warning: here-document at line 98 delimited by end-of-file (wanted `EOF') hi there |