goodshad.c
ds2.10/fluffos-2.16-ds05/testsuite/single/tests/efuns/goodshad.c · 213 B
From the archive ds2.10.zip
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();
}