xref: /illumos-gate/usr/src/test/util-tests/tests/awk/gnu/prec.awk (revision e86372a01d2d16a5dd4a64e144ed978ba17fe7dd)
1# check the precedence of operators:
2BEGIN {
3	$1 = i = 1
4	$+i++
5	$- -i++
6	print
7}
8