shithub: scc

ref: a033c20344b9ee8a761e3da0320f931c05bf88d1
dir: /tests/cc/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;
}