intp.c
v22.2b14/testsuite/single/tests/efuns/intp.c · 216 B
From the archive beta.tar.gz
Download the archive « Back to the archive contents
void do_tests() {
ASSERT(intp(5));
ASSERT(intp(([])[0]));
ASSERT(!intp( ({}) ));
ASSERT(!intp(([])));
ASSERT(!intp(this_object()));
destruct(this_object());
ASSERT(intp(this_object()));
}