weakimport-missing.m 490 B

12345678910111213
  1. /*
  2. TEST_BUILD
  3. $C{COMPILE} $DIR/weak2.m -UWEAK_FRAMEWORK -DWEAK_IMPORT=__attribute__\\(\\(weak_import\\)\\) -UEMPTY -dynamiclib -o libweakimport.dylib
  4. $C{COMPILE} $DIR/weakimport-missing.m -L. -weak-lweakimport -o weakimport-missing.exe
  5. $C{COMPILE} $DIR/weak2.m -UWEAK_FRAMEWORK -DWEAK_IMPORT=__attribute__\\(\\(weak_import\\)\\) -DEMPTY= -dynamiclib -o libweakimport.dylib
  6. END
  7. */
  8. // #define WEAK_FRAMEWORK
  9. #define WEAK_IMPORT __attribute__((weak_import))
  10. #include "weak.m"