clonep.c

v22.2b14/testsuite/single/tests/efuns/clonep.c · 173 B

From the archive beta.tar.gz

Download the archive   « Back to the archive contents

void do_tests() {
    ASSERT(!clonep());
    ASSERT(!clonep(this_object()));
    ASSERT(clonep(new(__FILE__)));
    ASSERT(!clonep( ({ 1, 2 }) ));
    ASSERT(!clonep(1));
}

Site Stats

Snippets: 1791
Codebases: 571