]> git.saurik.com Git - apple/objc4.git/blob - test/weakimport-missing.m
objc4-787.1.tar.gz
[apple/objc4.git] / test / weakimport-missing.m
1 /*
2 TEST_BUILD
3 $C{COMPILE} $DIR/weak2.m -UWEAK_FRAMEWORK -DWEAK_IMPORT=__attribute__\\(\\(weak_import\\)\\) -UEMPTY -dynamiclib -o libweakimport.dylib
4
5 $C{COMPILE} $DIR/weakimport-missing.m -L. -weak-lweakimport -o weakimport-missing.exe
6
7 $C{COMPILE} $DIR/weak2.m -UWEAK_FRAMEWORK -DWEAK_IMPORT=__attribute__\\(\\(weak_import\\)\\) -DEMPTY= -dynamiclib -o libweakimport.dylib
8 END
9 */
10
11 // #define WEAK_FRAMEWORK
12 #define WEAK_IMPORT __attribute__((weak_import))
13 #include "weak.m"