shithub: scc

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