shithub: scc

ref: 6e9d1522e50e81ab34916a0cf02fd838db7771c8
dir: /tests/cc/execute/0188-multi_string.c/

View raw version
#define STR(x) #x
#define RES "This is a string!"

int
main()
{
	char str1[] = STR(This is a string!);
	char str2[] = RES;
	int i;

	for (i = 0; str1[i]; i++) {
		if (str1[i] != str2[i])
			break;
	}

	return str1[i] - str2[i];
}