shithub: scc

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