shithub: scc

ref: 7e4220e1c67a2049e8df31f979cc34d13d3f6938
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;
}