shithub: scc

ref: 5ab898a530482dfdcb445a2eb80d23399dd04865
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];
}