3 $C{COMPILE} $DIR/load-order3.m -o load-order3.dylib -dynamiclib
4 $C{COMPILE} $DIR/load-order2.m -o load-order2.dylib -x none load-order3.dylib -dynamiclib
5 $C{COMPILE} $DIR/load-order1.m -o load-order1.dylib -x none load-order3.dylib load-order2.dylib -dynamiclib
6 $C{COMPILE} $DIR/load-order.m -o load-order.exe -x none load-order3.dylib load-order2.dylib load-order1.dylib
12 extern int state1, state2, state3;
16 testassert(state1 == 1 && state2 == 2 && state3 == 3);