shithub: scc

ref: 7b7d12f633d61116de104d3920e0e24cdd7ad802
dir: /cc1/tests/test061.c/

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

/*
name: TEST061
description: Test for macros without arguments but with parenthesis
error:
output:
V2	K	#NC
V4	K	#N9
G7	I	F	"main
{
\
	h	#I1
}
*/

#define X (2)
#define L (0)
#define H (1)
#define Q(x) x

int
main(void)
{
	return X == L + H + Q(1);
}