• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download

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