1 // { dg-lto-do link } 2 /* { dg-lto-options { { -O2 -w } { -w } } } */ 3 // { dg-extra-ld-options "-r -nostdlib -flinker-output=nolto-rel" } 4 extern "C" char *strcpy(char *, const char *); 5 char InitXPCOMGlue_lastSlash; InitXPCOMGlue()6void InitXPCOMGlue() { strcpy(&InitXPCOMGlue_lastSlash, ".so"); } 7 extern "C" void memcpy(void *); 8 char LZ4_decompress_safe_usingDict_ip; LZ4_decompress_safe_usingDict()9void LZ4_decompress_safe_usingDict() { 10 memcpy(&LZ4_decompress_safe_usingDict_ip); 11 } 12