shithub: scc

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