shithub: scc

ref: 8c3fe74ebda3b3bdd8d1fbd5af3c03de6229c834
dir: /tests/execute/0093-arrayinit.c/

View raw version

int a[3] = {0, 1, 2};

int
main()
{
	if (a[0] != 0)
		return 1;
	if (a[1] != 1)
		return 2;
	if (a[2] != 2)
		return 3;
	
	return 0;
}