]> git.saurik.com Git - apple/objc4.git/blob - test/load-order1.m
objc4-818.2.tar.gz
[apple/objc4.git] / test / load-order1.m
1 #include "test.h"
2
3 extern int state2, state3;
4
5 int state1 = 0;
6
7 OBJC_ROOT_CLASS
8 @interface One @end
9 @implementation One
10 +(void)load
11 {
12 testassert(state2 == 2 && state3 == 3);
13 state1 = 1;
14 }
15 @end