diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2018-08-02 20:43:56 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2018-08-02 20:43:56 +0300 |
commit | b32c67e0f99672ad4104cee4695b5eb040df16f4 (patch) | |
tree | f59c2329e2183fb12e4496306bb7893620bb966c /test/lintwarn.awk | |
parent | b98257919b20bdfc14f363761cc6215c1ad8bcee (diff) | |
parent | 3998ed059bbcfc189cd0d6c5762913fbd4ff4e77 (diff) | |
download | egawk-b32c67e0f99672ad4104cee4695b5eb040df16f4.tar.gz egawk-b32c67e0f99672ad4104cee4695b5eb040df16f4.tar.bz2 egawk-b32c67e0f99672ad4104cee4695b5eb040df16f4.zip |
Merge branch 'gawk-4.2-stable' into feature/gnulib-regex
Diffstat (limited to 'test/lintwarn.awk')
-rw-r--r-- | test/lintwarn.awk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/lintwarn.awk b/test/lintwarn.awk index cea76bbc..d430a2b4 100644 --- a/test/lintwarn.awk +++ b/test/lintwarn.awk @@ -36,3 +36,8 @@ function zz(aa, aa) return aa } @include "" +BEGIN { + print "foo" > "foo" 1 # should warn + print "foo" > ("foo" 1) # should not warn + system("rm -f foo1 foo2") +} |