]>
git.saurik.com Git - apple/dyld.git/blob - testing/test-cases/dylib-re-export.dtest/main.c
879b0b611c7b32a2f9f757738dbd343dd7b864e5
3 // BUILD: $CC bar.c -dynamiclib -o $BUILD_DIR/libbar.dylib -install_name $RUN_DIR/libbar.dylib
4 // BUILD: $CC foo.c -dynamiclib $BUILD_DIR/libbar.dylib -sub_library libbar -install_name $RUN_DIR/libfoo.dylib -o $BUILD_DIR/libfoo.dylib
5 // BUILD: $CC main.c -o $BUILD_DIR/dylib-re-export.exe $BUILD_DIR/libfoo.dylib -L$BUILD_DIR
7 // RUN: ./dylib-re-export.exe
17 printf("[BEGIN] dylib-re-export\n");
19 printf("[PASS] dylib-re-export\n");
21 printf("[FAIL] dylib-re-export, wrong value\n");