shithub: scc

ref: 597d91d49910c15de1a6607fb4edb7f81c752770
dir: /cc1/tests/test027.c/

View raw version
/* See LICENSE file for copyright and license details. */

/*
name: TEST027
description: Test of cpp stringizer
error:
output:
G3	I	F	"main
{
\
A5	P	"p
V6	K	#N19
Y7	V6	"	(
	#"hello is better than bye
	#K00
)
	A5	Y7	'P	:P
	h	A5	@K	gI
}
*/

#define x(y) #y

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

	return *p;
}