]>
git.saurik.com Git - apple/dyld.git/blob - testing/test-cases/shared_cache_optimized.dtest/main.c
df44b5e6d2cd9d2b6760d0f48c97b87ebfd79745
2 // BUILD: $CC main.c -o $BUILD_DIR/shared_cache_optimized.exe
4 // RUN: ./shared_cache_optimized.exe
9 #include <mach-o/dyld_priv.h>
15 printf("[BEGIN] shared_cache_optimized\n");
17 // tests run on internal installs which use un-optimzed dyld cache
18 if ( _dyld_shared_cache_optimized() )
19 printf("[FAIL] shared_cache_optimized unexpectedly returned true\n");
21 printf("[PASS] shared_cache_optimized\n");