1int cmpint( int x, int y) { return x == y; } 2int cmpflt( float x, float y) { return x == y; } 3int cmpvptr(void *x, void *y) { return x == y; } 4int cmpiptr(int *x, int *y) { return x == y; } 5 6int cmpmptr(long x, int *y) { return (int*)x == y; } 7int cmpnptr(int *x, long y) { return x == (int*)y; } 8 9/* 10 * check-name: pointer comparison 11 * check-command: sparsec -Wno-decl -c $file -o tmp.o 12 */ 13