diff options
Diffstat (limited to 'test/gsubasgn.ok')
-rw-r--r-- | test/gsubasgn.ok | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/gsubasgn.ok b/test/gsubasgn.ok new file mode 100644 index 00000000..dfa6fbc7 --- /dev/null +++ b/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 |