## valgrind test code
@[ -n "$$SKIP_COVERAGE_CHECK" ] || awk '/NOTEST/ { next } /^ *[1-9]/ {ran+=1} /^ *###/ {skip+=1} \
END {printf "coverage: %6.2f%%\n", ran * 100 / (ran + skip); \
## valgrind test code
@[ -n "$$SKIP_COVERAGE_CHECK" ] || awk '/NOTEST/ { next } /^ *[1-9]/ {ran+=1} /^ *###/ {skip+=1} \
END {printf "coverage: %6.2f%%\n", ran * 100 / (ran + skip); \
print "z??False", z??False, "w??False", w??False
if ?w:
print "Weird?"
print "z??False", z??False, "w??False", w??False
if ?w:
print "Weird?"
if pi > 3 then print "pi exceeds three"; else print "need more pie"
if (pi < 3) { print "not enough pi" } else { print "pi sufficient" }
if pi > 3 then print "pi exceeds three"; else print "need more pie"
if (pi < 3) { print "not enough pi" } else { print "pi sufficient" }
###### output: type_err3
.tmp.code:8:12: error: expected number but variable 'c' is string
.tmp.code:7:8: info: this is where 'c' was set to string
###### output: type_err3
.tmp.code:8:12: error: expected number but variable 'c' is string
.tmp.code:7:8: info: this is where 'c' was set to string
.tmp.code:38:29: error: expected number found Boolean
.tmp.code:41:23: error: have number but need string
.tmp.code:41:29: error: string cannot provide length
.tmp.code:38:29: error: expected number found Boolean
.tmp.code:41:23: error: have number but need string
.tmp.code:41:29: error: string cannot provide length