6 # test that if the main executable overrides operator new
7 # that a dylib using operator new is redirected to it.
12 include ${TESTROOT}/include/common.makefile
23 main: main.cxx libfoo.dylib
24 ${CXX} ${CXXFLAGS} -I${TESTROOT}/include -o main main.cxx libfoo.dylib
27 ${CXX} ${CXXFLAGS} -dynamiclib foo.cxx -o libfoo.dylib
32 ${RM} ${RMFLAGS} *~ main libfoo.dylib