shithub: scc

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