2 #include "imageorder.h"
7 static void c1(void) __attribute__((constructor));
10 testassert(state == 1); // +load before C/C++
11 testassert(cstate == 0);
15 @implementation Super (cat1)
17 fail("+[Super(cat1) method] not replaced!");
23 testassert(state == 0);
29 +(void) initialize { }
31 fail("+[Super method] not replaced!");
37 testassert(state == -1);