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