shithub: scc

ref: 3c43e88a5a33a27365f381d82af451fa997d682a
dir: /tests/cc/execute/0040-cast.c/

View raw version
int
main()
{
	void *p;
	int x;
	
	x = 2;
	p = &x;
	
	if(*((int*)p) != 2)
		return 1;
	return 0;
}