shithub: scc

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