diff options
Diffstat (limited to 'contrib/awk/test/gsubasgn.ok')
-rw-r--r-- | contrib/awk/test/gsubasgn.ok | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/awk/test/gsubasgn.ok b/contrib/awk/test/gsubasgn.ok new file mode 100644 index 0000000..dfa6fbc --- /dev/null +++ b/contrib/awk/test/gsubasgn.ok @@ -0,0 +1,4 @@ +gawk: gsubasgn.awk:4: function test1 (r) { gsub(r, "x", test1) } +gawk: gsubasgn.awk:4: ^ gsub third parameter is not a changeable object +gawk: gsubasgn.awk:8: function test2 () { gsub(/a/, "x", test2) } +gawk: gsubasgn.awk:8: ^ gsub third parameter is not a changeable object |