allocate_mapping.c

v22.2b14/testsuite/single/tests/efuns/allocate_mapping.c · 155 B

From the archive beta.tar.gz

Download the archive   « Back to the archive contents

void do_tests() {
    mapping m = allocate_mapping(random(1000));
    mixed x, y;
    
    foreach (x, y in m) {
	ASSERT(0); // shouldn't get here
    }
}

Site Stats

Snippets: 1791
Codebases: 571