shithub: scc

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