X-Git-Url: https://git.saurik.com/apple/objc4.git/blobdiff_plain/7c0e6487d7b67b6bf6c632300ee4b74e8950b051..7af964d1562d70f51a8e9aca24215ac3d83d0624:/test/load-order2.m diff --git a/test/load-order2.m b/test/load-order2.m new file mode 100644 index 0000000..ad2e1ac --- /dev/null +++ b/test/load-order2.m @@ -0,0 +1,14 @@ +#include "test.h" + +extern int state3; + +int state2 = 0; + +@interface Two @end +@implementation Two ++(void)load +{ + testassert(state3 == 3); + state2 = 2; +} +@end