allocate_mapping.c

ds2.10/fluffos-2.16-ds05/testsuite/single/tests/efuns/allocate_mapping.c · 158 B

From the archive ds2.10.zip

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