shithub: scc

ref: 878d46d965b83832a939cc46707aa6f3b7e5d30e
dir: /tests/cc/execute/0075-ptraddasn.c/

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