shithub: scc

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