shithub: scc

ref: 989b26202e9264b37237371f85a19630ec4f1b0a
dir: /tests/cc/execute/0046-inits.c/

View raw version
int x = 5;
long y = 6;
int *p = &x;

int
main()
{
	if (x != 5) 
		return 1;
	if (y != 6)
		return 2;
	if (*p != 5)
		return 3;
	return 0;
}