shithub: scc

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