shithub: scc

ref: 802fc685de68e0b4ef93de81a8270f9b3642085b
dir: /tests/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;
}