summaryrefslogtreecommitdiff
path: root/test/shadow.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/shadow.awk')
-rw-r--r--test/shadow.awk21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/shadow.awk b/test/shadow.awk
new file mode 100644
index 0000000..9a58720
--- /dev/null
+++ b/test/shadow.awk
@@ -0,0 +1,21 @@
+function foo()
+{
+ print "foo"
+}
+
+function bar(A, Z, q)
+{
+ print "bar"
+}
+
+function baz(C, D)
+{
+ print "baz"
+}
+
+BEGIN {
+ A = C = D = Z = y = 1
+ foo()
+ bar()
+ baz()
+}