shithub: scc

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