shithub: scc

ref: 6e9d1522e50e81ab34916a0cf02fd838db7771c8
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;
}