children.c

v22.2b14/testsuite/single/tests/efuns/children.c · 224 B

From the archive beta.tar.gz

Download the archive   « Back to the archive contents

void do_tests() {
    object x;
    
    foreach (x in children(__FILE__))
	if (x != this_object()) destruct(x);
    
    for (int i = 0; i < 5; i++)
	new(__FILE__);
    
    ASSERT(sizeof(children(__FILE__)) == 6);
}

    

Site Stats

Snippets: 1791
Codebases: 571