shithub: scc

ref: 4c642e3e66899c12f4de7e7bda7f2b96e122b342
dir: /cc1/tests/test064.c/

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

/*
name: TEST064
description: Test function alike macro without parenthesis
error:
output:
S1	"	#N2	#N1
M2	I	"f	#N0
G5	I	F	"main
{
\
A6	S1	"s
	A6	M2	.I	#I0	:I
	h	A6	M2	.I
}
*/

#define x f
#define y() f

typedef struct { int f; } S;

int
main()
{
	S s;
	
	s.x = 0;
	return s.y();
}