~vcs-imports/gawk/master

« back to all changes in this revision

Viewing changes to test/sandbox1.awk

  • Committer: Andrew J. Schorr
  • Date: 2014-08-03 18:44:47 UTC
  • mfrom: (408.7.1)
  • mto: (408.2.352)
  • mto: This revision was merged to the branch mainline in revision 507.
  • Revision ID: git-v1:ff21da5c7f072a69e9582f1a7ae2039f27f564cf
Merge branch 'gawk-4.1-stable' to get --profile to work with -M.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
BEGIN {
2
 
        ARGV[ARGC++] = ARGV[1]  # should be ok
3
 
        ARGV[ARGC++] = ""       # empty string, should be ok
4
 
        ARGV[ARGC++] = "foo=bar"        # assignment, should be ok
5
 
        ARGV[ARGC++] = "junk::foo=bar"  # assignment, should be ok
6
 
        ARGV[ARGC++] = "/dev/null"      # should fatal here
7
 
}