def do_basic_dylink_test(self, need_reverse=True):
    self.dylink_test('\n      #include <stdio.h>\n      #include "header.h"\n\n      int main() {\n        printf("other says %d.\\n", sidey());\n        return 0;\n      }\n    ', '\n      #include "header.h"\n\n      int sidey() {\n        return 11;\n      }\n    ', 'other says 11.', 'extern "C" int sidey();', need_reverse=need_reverse)
def do_basic_dylink_test(self, need_reverse=True):
    self.dylink_test('\n      #include <stdio.h>\n      #include "header.h"\n\n      int main() {\n        printf("other says %d.\\n", sidey());\n        return 0;\n      }\n    ', '\n      #include "header.h"\n\n      int sidey() {\n        return 11;\n      }\n    ', 'other says 11.', 'extern "C" int sidey();', need_reverse=need_reverse)