aboutsummaryrefslogtreecommitdiffstats
path: root/tests/type.right
diff options
context:
space:
mode:
Diffstat (limited to 'tests/type.right')
-rw-r--r--tests/type.right16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/type.right b/tests/type.right
index a628231..6dbce64 100644
--- a/tests/type.right
+++ b/tests/type.right
@@ -80,3 +80,19 @@ qux
bar
qux
+foo is a function
+foo ()
+{
+ rm -f a b c;
+ for f in a b c;
+ do
+ cat >> ${f} <<-EOF
+file
+EOF
+
+ done
+ grep . a b c
+}
+a:file
+b:file
+c:file