shithub: scc

ref: fe9bac1eb738478ab7335626802ae4b954454dc1
dir: /tests/execute/0119-macrostr.c/

View raw version
#define B "b"

char s[] = "a" B "c";

int
main()
{
	if (s[0] != 'a')
		return 1;
	if (s[1] != 'b')
		return 2;
	if (s[2] != 'c')
		return 3;
	if (s[3] != '\0')
		return 4;
	return 0;
}