shithub: scc

ref: 994751d39485e086ef623f202fb1b84729fd5d19
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;
}