shithub: scc

ref: 0eaa0e21ca1c958ca2ea372e2e785e7392a0818c
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;
}