2 include ${TESTROOT}/include/common.makefile
5 # Test that a dynamically referenced symbol is always exported
11 ${CC} foo.c -dynamiclib -o libfoo.dylib
12 nm -m libfoo.dylib | grep _keep_global | grep "referenced dynamically" | ${FAIL_IF_EMPTY}
13 nm -m libfoo.dylib | grep _keep_hidden | grep "referenced dynamically" | ${FAIL_IF_EMPTY}
14 ${PASS_IFF_GOOD_MACHO} libfoo.dylib