]> git.saurik.com Git - apple/objc4.git/blobdiff - test/load-order2.m
objc4-437.tar.gz
[apple/objc4.git] / test / load-order2.m
diff --git a/test/load-order2.m b/test/load-order2.m
new file mode 100644 (file)
index 0000000..ad2e1ac
--- /dev/null
@@ -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