- /*
- TEST_BUILD
- $C{COMPILE} $DIR/weak2.m -UWEAK_FRAMEWORK -DWEAK_IMPORT=__attribute__\\(\\(weak_import\\)\\) -UEMPTY -dynamiclib -o libweakimport.dylib
- $C{COMPILE} $DIR/weakimport-not-missing.m -L. -weak-lweakimport -o weakimport-not-missing.exe
- END
- */
- // #define WEAK_FRAMEWORK
- #define WEAK_IMPORT __attribute__((weak_import))
- #include "weak.m"
|