aboutsummaryrefslogtreecommitdiffstats
path: root/test/inpref.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/inpref.awk')
-rw-r--r--test/inpref.awk9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/inpref.awk b/test/inpref.awk
new file mode 100644
index 00000000..d64ffe7f
--- /dev/null
+++ b/test/inpref.awk
@@ -0,0 +1,9 @@
+function test(x) {
+ print x
+ getline
+ print x
+}
+
+{
+ test($0)
+}