]> git.saurik.com Git - apple/objc4.git/blob - test/gcenforcer-nogc-1.m
objc4-551.1.tar.gz
[apple/objc4.git] / test / gcenforcer-nogc-1.m
1 // gc-off app loading gc-off dylib: should work
2
3 /*
4 TEST_CONFIG MEM=mrc,arc SDK=macos
5
6 TEST_BUILD
7 $C{COMPILE_C} $DIR/gc.c -dynamiclib -o libnoobjc.dylib
8 $C{COMPILE_NOMEM} $DIR/gc.m -dynamiclib -o libnogc.dylib
9 $C{COMPILE_NOMEM} $DIR/gc.m -dynamiclib -o libsupportsgc.dylib -fobjc-gc
10 $C{COMPILE_NOMEM} $DIR/gc.m -dynamiclib -o librequiresgc.dylib -fobjc-gc-only
11 $C{COMPILE_NOMEM} $DIR/gc.m -dynamiclib -o librequiresgc.fake.dylib -fobjc-gc -install_name librequiresgc.dylib
12
13 $C{COMPILE} $DIR/gc-main.m -x none libnogc.dylib -o gcenforcer-nogc-1.out
14 END
15 */