Test for linking profiling code.