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