xref: /illumos-gate/usr/src/test/util-tests/tests/awk/gnu/printfchar.awk (revision e6d6c189fa3a95d7aa27bbe0aeacf7c1a6b57c8c)
1*e6d6c189SCody Peter MelloBEGIN {
2*e6d6c189SCody Peter Mello	x[65]
3*e6d6c189SCody Peter Mello	for (i in x) {
4*e6d6c189SCody Peter Mello		# i should be a string
5*e6d6c189SCody Peter Mello		printf "%c\n", i	# should print 1st char of string
6*e6d6c189SCody Peter Mello	}
7*e6d6c189SCody Peter Mello}
8