1 // gc-off app loading gc-off dylib: should work
4 TEST_CONFIG MEM=mrc,arc SDK=macos
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
13 $C{COMPILE} $DIR/gc-main.m -x none libnogc.dylib -o gcenforcer-nogc-1.out