diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2020-01-08 21:03:32 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2020-01-08 21:03:32 +0200 |
commit | a2a6e548bc3afcbf4c7401ebdfa8213dbe4e8dea (patch) | |
tree | a5688e69343d54c510d976750b41e4a5851e4518 /test/stupid4.awk | |
parent | ebe9dd1633c6f5e5d42e922a70f72829c14c193c (diff) | |
download | egawk-a2a6e548bc3afcbf4c7401ebdfa8213dbe4e8dea.tar.gz egawk-a2a6e548bc3afcbf4c7401ebdfa8213dbe4e8dea.tar.bz2 egawk-a2a6e548bc3afcbf4c7401ebdfa8213dbe4e8dea.zip |
Fix problems passing uninitialized variables to typeof.
Diffstat (limited to 'test/stupid4.awk')
-rw-r--r-- | test/stupid4.awk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/stupid4.awk b/test/stupid4.awk new file mode 100644 index 00000000..8b36d0c2 --- /dev/null +++ b/test/stupid4.awk @@ -0,0 +1,11 @@ +BEGIN { + test(someidentifier) +} + + +function test(a) +{ + print typeof(a) + a + print typeof(a) +} |