shithub: scc

ref: 66b39b58b8cda3e3c3a86c23401cad0e670a3432
dir: /tests/cc/execute/0162-array.c/

View raw version
int arr[3] = {[2] = 2, [0] = 0, [1] = 1};

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