shithub: scc

ref: 6e9d1522e50e81ab34916a0cf02fd838db7771c8
dir: /tests/cc/execute/0176-macro.c/

View raw version
#ifdef __STDC__
#define __(proto) proto
#else
#define __(proto) ()
#endif

extern int func __((int, int));

int
main()
{
	int (*fun)(int,int) = func;

	return (*func)(2, 1);
}

int
func(int a, int b)
{
	return a - b - 1;
}