diff --git a/lld/test/ELF/version-script-extern-wildcards.s b/lld/test/ELF/version-script-extern-wildcards.s index 0ef9c83aae43..838f6379122e 100644 --- a/lld/test/ELF/version-script-extern-wildcards.s +++ b/lld/test/ELF/version-script-extern-wildcards.s @@ -1,15 +1,15 @@ -# REQUIRES: shell +# REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o # RUN: echo "LIBSAMPLE_1.0 { \ # RUN: global: \ -# RUN: extern "C++" { \ +# RUN: extern \"C++\" { \ # RUN: foo*; \ # RUN: }; \ # RUN: }; \ # RUN: LIBSAMPLE_2.0 { \ # RUN: global: \ -# RUN: extern "C++" { \ +# RUN: extern \"C++\" { \ # RUN: zed*; \ # RUN: bar; \ # RUN: }; \ diff --git a/lld/test/ELF/version-script-extern.s b/lld/test/ELF/version-script-extern.s index 439653487bc0..220aded0427a 100644 --- a/lld/test/ELF/version-script-extern.s +++ b/lld/test/ELF/version-script-extern.s @@ -1,17 +1,17 @@ -# REQUIRES: shell +# REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o # RUN: echo "LIBSAMPLE_1.0 { \ # RUN: global: \ -# RUN: extern "C++" { \ -# RUN: \"foo(int)\"; \ -# RUN: \"zed(int)\"; \ +# RUN: extern \"C++\" { \ +# RUN: \"foo(int)\"; \ +# RUN: \"zed(int)\"; \ # RUN: }; \ # RUN: }; \ # RUN: LIBSAMPLE_2.0 { \ # RUN: global: \ -# RUN: extern "C++" { \ -# RUN: \"bar(int)\"; \ +# RUN: extern \"C++\" { \ +# RUN: \"bar(int)\"; \ # RUN: }; \ # RUN: }; " > %t.script # RUN: ld.lld --version-script %t.script -shared %t.o -o %t.so