shithub: scc

ref: 3316919fa6b703a5514a3817b8f22cde27ccf569
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;
}