shithub: scc

ref: 0a859705bf32bb1462671e03b2b8e932f3d287e4
dir: /tests/cc/execute/0205-cpparg.c/

View raw version
#define TOLOWER(c) ((((unsigned)c) - 'A' < 26) ? ((c) | 32) : (c))

int
main(void)
{
	char c, *s = "Bla";

	c = TOLOWER((unsigned char)*s);
	if (c != 'b')
		return 1;

	return 0;
}