goodshad.c

v22.2b14/testsuite/single/tests/efuns/goodshad.c · 199 B

From the archive beta.tar.gz

Download the archive   « Back to the archive contents

void create(int arg) {
#ifndef __NO_SHADOWS__
    if (arg) {
	ASSERT(shadow(previous_object()));
	ASSERT(catch(shadow(previous_object())));
    }
#endif
}

object foo() {
    return this_object();
}

Site Stats

Snippets: 1791
Codebases: 571