shithub: scc

ref: c41c061f0e08759eecbcd1c97c3117199fc56d0e
dir: /tests/cc/execute/0005-ifstmt.c/

View raw version
int
main()
{
	int x;
	int *p;
	int **pp;

	x = 0;
	p = &x;
	pp = &p;

	if(*p)
		return 1;
	if(**pp)
		return 1;
	else
		**pp = 1;

	if(x)
		return 0;
	else
		return 1;
}