weakimport-not-missing.m 355 B

1234567891011
  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-not-missing.m -L. -weak-lweakimport -o weakimport-not-missing.exe
  5. END
  6. */
  7. // #define WEAK_FRAMEWORK
  8. #define WEAK_IMPORT __attribute__((weak_import))
  9. #include "weak.m"