1f08c3bdfSopenharmony_ciint  tstv(void *p) { return !p; }
2f08c3bdfSopenharmony_ciint  cmpv(void *p) { return p == ((void*)0); }
3f08c3bdfSopenharmony_ci
4f08c3bdfSopenharmony_ciint  tsti(int  *p) { return !p; }
5f08c3bdfSopenharmony_ciint  cmpi(int  *p) { return p == ((int *)0); }
6f08c3bdfSopenharmony_ciint  cmpx(int  *p) { return p == ((void*)0); }
7f08c3bdfSopenharmony_ci
8f08c3bdfSopenharmony_ci/*
9f08c3bdfSopenharmony_ci * check-name: compare-with-null
10f08c3bdfSopenharmony_ci * check-command: sparsec -Wno-decl -c $file -o tmp.o
11f08c3bdfSopenharmony_ci * check-output-ignore
12f08c3bdfSopenharmony_ci */
13