cmpint(int x,int y)1 int cmpint( int x, int y) { return x == y; }
cmpflt(float x,float y)2 int cmpflt( float x, float y) { return x == y; }
cmpvptr(void * x,void * y)3 int cmpvptr(void *x, void *y) { return x == y; }
cmpiptr(int * x,int * y)4 int cmpiptr(int *x, int *y) { return x == y; }
5
cmpmptr(long x,int * y)6 int cmpmptr(long x, int *y) { return (int*)x == y; }
cmpnptr(int * x,long y)7 int 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