aboutsummaryrefslogtreecommitdiffstats
path: root/tests/type.right
diff options
context:
space:
mode:
Diffstat (limited to 'tests/type.right')
-rw-r--r--tests/type.right19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/type.right b/tests/type.right
index 18208d1..a628231 100644
--- a/tests/type.right
+++ b/tests/type.right
@@ -61,3 +61,22 @@ bar ()
{
echo $(<x1)
}
+foo is a function
+foo ()
+{
+ echo;
+ cat <<END
+bar
+END
+
+ cat <<EOF
+qux
+EOF
+
+}
+
+bar
+qux
+
+bar
+qux