shithub: scc

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