]>
git.saurik.com Git - apple/dyld.git/blob - testing/test-cases/flat-namespace-absolute-symbol.dtest/main.c
3 // BUILD: $CC foo.s -dynamiclib -o $BUILD_DIR/libfoo.dylib -install_name $RUN_DIR/libfoo.dylib
4 // BUILD: $CC main.c $BUILD_DIR/libfoo.dylib -o $BUILD_DIR/flat-namespace.exe -flat_namespace
6 // RUN: ./flat-namespace.exe
19 printf("[BEGIN] flat-namespace-absolute-symbol\n");
22 printf("[FAIL] absolute symbol not bound to zero with flat lookup\n");
26 printf("[PASS] flat-namespace-absolute-symbol\n");