shithub: scc

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