2 #include "imageorder.h"
4 static void c2(void) __attribute__((constructor));
7 testassert(state == 2); // +load before C/C++
8 testassert(cstate == 1);
14 #pragma clang diagnostic push
15 #pragma clang diagnostic ignored "-Wobjc-protocol-method-implementation"
18 @implementation Super (cat2)
20 fail("+[Super(cat2) method] not replaced!");
26 testassert(state == 1);
32 #pragma clang diagnostic pop