shithub: scc

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