find_call_out.c
v22.2b14/testsuite/single/tests/efuns/find_call_out.c · 165 B
From the archive beta.tar.gz
Download the archive « Back to the archive contents
void do_tests() {
ASSERT(find_call_out("foo") == -1);
call_out("foo", 10);
ASSERT(find_call_out("foo") == 10);
ASSERT(find_call_out("bar") == -1);
}