shithub: scc

ref: 0a859705bf32bb1462671e03b2b8e932f3d287e4
dir: /tests/cc/execute/0192-ptrcmp.c/

View raw version
struct ptrs {
	unsigned char *rp;
	unsigned char *wp;
};

struct ptrs iob[2]; 
 
int 
main() 
{
	static unsigned char buf[10];

	iob[0].rp = buf;
	iob[0].wp = buf+2;

	return (&iob[0])->rp >= (&iob[0])->wp;
}