shithub: scc

ref: 6658e6edcecad1c26e6b0cfcd06ad08992481356
dir: /cc1/tests/test027.c/

View raw version

/*
name: TEST027
description: Test of cpp stringizer
error:
output:
G3	F	"main
{
\
A5	P	"p
V7	K	#25
Y6	V7	"
(
	#"hello is better than bye
	#K00
)
	A5	Y6	'P	:P
	r	A5	@K	gI
}
*/

#define x(y) #y

int
main(void)
{
	char *p;
	p = x(hello)  " is better than bye";

	return *p;
}