mirror of
https://github.com/darlinghq/darling-objc4.git
synced 2024-11-26 21:50:26 +00:00
19 lines
568 B
Objective-C
19 lines
568 B
Objective-C
/*
|
|
TEST_BUILD
|
|
$C{COMPILE} $DIR/load-order3.m -o load-order3.dylib -dynamiclib
|
|
$C{COMPILE} $DIR/load-order2.m -o load-order2.dylib -x none load-order3.dylib -dynamiclib
|
|
$C{COMPILE} $DIR/load-order1.m -o load-order1.dylib -x none load-order3.dylib load-order2.dylib -dynamiclib
|
|
$C{COMPILE} $DIR/load-order.m -o load-order.exe -x none load-order3.dylib load-order2.dylib load-order1.dylib
|
|
END
|
|
*/
|
|
|
|
#include "test.h"
|
|
|
|
extern int state1, state2, state3;
|
|
|
|
int main()
|
|
{
|
|
testassert(state1 == 1 && state2 == 2 && state3 == 3);
|
|
succeed(__FILE__);
|
|
}
|