shithub: scc

ref: c8e1837d9e661d706c6b43b8930b16308404f3e2
dir: /tests/execute/0076-ptrsubasn.c/

View raw version

int
main()
{
	int arr[2];
	int *p;
	
	p = &arr[1];
	p -= 1;
	*p = 123;
	
	if(arr[0] != 123)
		return 1;
	return 0;
}