]>
git.saurik.com Git - apple/dyld.git/blob - testing/test-cases/flat-namespace-absolute-symbol.dtest/main.c
1 // BUILD(macos): $CC foo.s -dynamiclib -o $BUILD_DIR/libfoo.dylib -install_name $RUN_DIR/libfoo.dylib
2 // BUILD(macos): $CC main.c $BUILD_DIR/libfoo.dylib -o $BUILD_DIR/flat-namespace.exe -flat_namespace
4 // BUILD(ios,tvos,watchos,bridgeos):
6 // RUN: ./flat-namespace.exe
14 #include "test_support.h"
19 int main(int argc
, const char* argv
[], const char* envp
[], const char* apple
[]) {
21 FAIL("Absolute symbol not bound to zero with flat lookup");