nullp.c

v22.2b14/testsuite/single/tests/efuns/nullp.c · 114 B

From the archive beta.tar.gz

Download the archive   « Back to the archive contents

int x;

void do_tests() {
    ASSERT(evaluate( (: nullp($1) :) ));
    ASSERT(nullp(x));
    ASSERT(!nullp(1));
}

Site Stats

Snippets: 1791
Codebases: 571